File tree Expand file tree Collapse file tree
actions/install-dependencies Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : ' Install Dependencies'
2- description : ' Install qt environment and compile dependencies'
1+ name : " Install Dependencies"
2+ description : " Install qt environment and compile dependencies"
33inputs :
44 qt_modules :
5- description : ' qt modules'
5+ description : " qt modules"
66 required : false
7- default : ' qt5compat qtnetworkauth qtimageformats'
7+ default : " qt5compat qtnetworkauth qtimageformats"
88 type : string
99 qt_ver :
10- description : ' qt version'
10+ description : " qt version"
1111 required : false
12- default : ' 6.10.0 '
12+ default : " 6.10.2 "
1313 type : string
1414
1515runs :
16- using : ' composite'
16+ using : " composite"
1717
1818 steps :
1919 - name : Install dependencies on windows
4747 with :
4848 version : ${{ inputs.qt_ver }}
4949 modules : ${{ inputs.qt_modules }}
50- cache : ' true'
50+ cache : " true"
Original file line number Diff line number Diff line change @@ -3,34 +3,34 @@ name: CMake Build
33on :
44 push :
55 paths-ignore :
6- - ' docs/**'
7- - ' packaging/**'
8- - ' qmake/**'
9- - ' translations/**'
10- - ' **/*.md'
11- - ' **/.clang-*'
12- - ' **/.gitignore'
13- - ' **/*.pri'
14- - ' **/LICENSE*'
15- - ' **/*.pro'
16- - ' **/README*'
6+ - " docs/**"
7+ - " packaging/**"
8+ - " qmake/**"
9+ - " translations/**"
10+ - " **/*.md"
11+ - " **/.clang-*"
12+ - " **/.gitignore"
13+ - " **/*.pri"
14+ - " **/LICENSE*"
15+ - " **/*.pro"
16+ - " **/README*"
1717 pull_request :
1818 paths-ignore :
19- - ' docs/**'
20- - ' packaging/**'
21- - ' qmake/**'
22- - ' translations/**'
23- - ' **/*.md'
24- - ' **/.clang-*'
25- - ' **/.gitignore'
26- - ' **/*.pri'
27- - ' **/LICENSE*'
28- - ' **/*.pro'
29- - ' **/README*'
19+ - " docs/**"
20+ - " packaging/**"
21+ - " qmake/**"
22+ - " translations/**"
23+ - " **/*.md"
24+ - " **/.clang-*"
25+ - " **/.gitignore"
26+ - " **/*.pri"
27+ - " **/LICENSE*"
28+ - " **/*.pro"
29+ - " **/README*"
3030
3131env :
32- MACOSX_DEPLOYMENT_TARGET : ' 13.0'
33- MACOSX_BUILD_ARCHS : ' x86_64;arm64'
32+ MACOSX_DEPLOYMENT_TARGET : " 13.0"
33+ MACOSX_BUILD_ARCHS : " x86_64;arm64"
3434 BUILD_DIR : build
3535 BUILD_TYPE : RelWithDebInfo
3636
4949 - " Ninja"
5050
5151 steps :
52- - uses : actions/checkout@v5
52+ - uses : actions/checkout@v6
5353 with :
5454 fetch-depth : 1
5555
Original file line number Diff line number Diff line change @@ -3,47 +3,47 @@ name: CodeQL
33on :
44 push :
55 paths-ignore :
6- - ' docs/**'
7- - ' packaging/**'
8- - ' qmake/**'
9- - ' translations/**'
10- - ' **/*.md'
11- - ' **/*.txt'
12- - ' **/.clang-*'
13- - ' **/.gitignore'
14- - ' **/*.pri'
15- - ' **/LICENSE*'
16- - ' **/*.pro'
17- - ' **/README*'
6+ - " docs/**"
7+ - " packaging/**"
8+ - " qmake/**"
9+ - " translations/**"
10+ - " **/*.md"
11+ - " **/*.txt"
12+ - " **/.clang-*"
13+ - " **/.gitignore"
14+ - " **/*.pri"
15+ - " **/LICENSE*"
16+ - " **/*.pro"
17+ - " **/README*"
1818 branches-ignore :
19- - ' dependabot/**'
19+ - " dependabot/**"
2020 pull_request :
2121 paths-ignore :
22- - ' docs/**'
23- - ' packaging/**'
24- - ' qmake/**'
25- - ' translations/**'
26- - ' **/*.md'
27- - ' **/*.txt'
28- - ' **/.clang-*'
29- - ' **/.gitignore'
30- - ' **/*.pri'
31- - ' **/LICENSE*'
32- - ' **/*.pro'
33- - ' **/README*'
22+ - " docs/**"
23+ - " packaging/**"
24+ - " qmake/**"
25+ - " translations/**"
26+ - " **/*.md"
27+ - " **/*.txt"
28+ - " **/.clang-*"
29+ - " **/.gitignore"
30+ - " **/*.pri"
31+ - " **/LICENSE*"
32+ - " **/*.pro"
33+ - " **/README*"
3434 branches-ignore :
35- - ' dependabot/**'
36-
35+ - " dependabot/**"
36+
3737 schedule :
38- - cron : ' 0 0 1 * *'
38+ - cron : " 0 0 1 * *"
3939 workflow_dispatch :
40-
40+
4141jobs :
4242 CodeQL :
4343 runs-on : ubuntu-latest
44-
45- steps :
46- - uses : actions/checkout@v5
44+
45+ steps :
46+ - uses : actions/checkout@v6
4747 with :
4848 fetch-depth : 1
4949
@@ -52,11 +52,10 @@ jobs:
5252 - name : Initialize CodeQL
5353 uses : github/codeql-action/init@v4
5454 with :
55- languages : cpp
55+ languages : cpp
5656
5757 - name : Autobuild
5858 uses : github/codeql-action/autobuild@v4
5959
6060 - name : Perform CodeQL Analysis
6161 uses : github/codeql-action/analyze@v4
62-
Original file line number Diff line number Diff line change 11name : QMake Build
22
3- on :
3+ on :
44 push :
55 paths-ignore :
6- - ' cmake/**'
7- - ' docs/**'
8- - ' packaging/**'
9- - ' translations/**'
10- - ' **/CMakeLists.txt'
11- - ' **/*.md'
12- - ' **/*.txt'
13- - ' **/.clang-*'
14- - ' **/.gitignore'
15- - ' **/LICENSE*'
16- - ' **/README*'
17- - ' vcpkg.json'
6+ - " cmake/**"
7+ - " docs/**"
8+ - " packaging/**"
9+ - " translations/**"
10+ - " **/CMakeLists.txt"
11+ - " **/*.md"
12+ - " **/*.txt"
13+ - " **/.clang-*"
14+ - " **/.gitignore"
15+ - " **/LICENSE*"
16+ - " **/README*"
17+ - " vcpkg.json"
1818 pull_request :
1919 paths-ignore :
20- - ' cmake/**'
21- - ' docs/**'
22- - ' packaging/**'
23- - ' translations/**'
24- - ' **/CMakeLists.txt'
25- - ' **/*.md'
26- - ' **/*.txt'
27- - ' **/.clang-*'
28- - ' **/.gitignore'
29- - ' **/LICENSE*'
30- - ' **/README*'
31- - ' vcpkg.json'
20+ - " cmake/**"
21+ - " docs/**"
22+ - " packaging/**"
23+ - " translations/**"
24+ - " **/CMakeLists.txt"
25+ - " **/*.md"
26+ - " **/*.txt"
27+ - " **/.clang-*"
28+ - " **/.gitignore"
29+ - " **/LICENSE*"
30+ - " **/README*"
31+ - " vcpkg.json"
3232
3333env :
3434 MACOSX_DEPLOYMENT_TARGET : 13.0
35- MACOSX_BUILD_ARCHS : ' x86_64 arm64'
35+ MACOSX_BUILD_ARCHS : " x86_64 arm64"
3636 BUILD_DIR : build
3737
3838jobs :
@@ -48,10 +48,10 @@ jobs:
4848 - ubuntu-latest
4949
5050 steps :
51- - uses : actions/checkout@v5
52- with :
51+ - uses : actions/checkout@v6
52+ with :
5353 fetch-depth : 1
54-
54+
5555 - uses : ./.github/actions/install-dependencies
5656
5757 - uses : RealChuan/install-jom@main
6868 ..\packaging\windows\Enter-VsDevShell.ps1
6969 & qmake ..\.
7070 & jom
71-
71+
7272 - name : Build linux
7373 if : runner.os == 'Linux'
7474 working-directory : ${{ env.BUILD_DIR }}
8383 shell : bash
8484 run : |
8585 qmake QMAKE_APPLE_DEVICE_ARCHS="${{ env.MACOSX_BUILD_ARCHS }}" ../.
86- make -j $(sysctl -n hw.ncpu)
86+ make -j $(sysctl -n hw.ncpu)
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 Translate :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v5
15+ - uses : actions/checkout@v6
1616 - uses : actions/setup-node@v6
17- # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
17+ # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
1818 - name : Adding README - English
1919 uses : dephraiim/translate-readme@main
2020 with :
21- LANG : en
21+ LANG : en
Original file line number Diff line number Diff line change 11{
2- "cmake.configureEnvironment" : {
3- "CMAKE_MAKE_PROGRAM" : " C:\\ Qt\\ Tools\\ Ninja\\ ninja.exe;"
4- },
5- "cmake.generator" : " Ninja" ,
6- "cmake.environment" : {
7- "PATH" : " C:\\ Qt\\ 6.10.0 \\ msvc2022_64\\ bin;${env:PATH};"
8- }
9- }
2+ "cmake.configureEnvironment" : {
3+ "CMAKE_MAKE_PROGRAM" : " C:\\ Qt\\ Tools\\ Ninja\\ ninja.exe;"
4+ },
5+ "cmake.generator" : " Ninja" ,
6+ "cmake.environment" : {
7+ "PATH" : " C:\\ Qt\\ 6.10.2 \\ msvc2022_64\\ bin;${env:PATH};"
8+ }
9+ }
Original file line number Diff line number Diff line change 33# =============================================================================
44
55if (CMAKE_HOST_WIN32 )
6- list (APPEND CMAKE_PREFIX_PATH "C:\\ Qt\\ 6.10.0 \\ msvc2022_64" )
7- message (STATUS "Setting Windows Qt path: C:\\ Qt\\ 6.10.0 \\ msvc2022_64" )
6+ list (APPEND CMAKE_PREFIX_PATH "C:\\ Qt\\ 6.10.2 \\ msvc2022_64" )
7+ message (STATUS "Setting Windows Qt path: C:\\ Qt\\ 6.10.2 \\ msvc2022_64" )
88elseif (CMAKE_HOST_APPLE )
99 # macOS路径 - 可以根据需要填写具体路径 list(APPEND CMAKE_PREFIX_PATH "/path/to/qt/macos")
1010 message (STATUS "macOS Qt path - configure as needed" )
1111elseif (CMAKE_HOST_LINUX)
12- list (APPEND CMAKE_PREFIX_PATH "/opt/Qt/6.10.0 /gcc_64" )
13- message (STATUS "Setting Linux Qt path: /opt/Qt/6.10.0 /gcc_64" )
12+ list (APPEND CMAKE_PREFIX_PATH "/opt/Qt/6.10.2 /gcc_64" )
13+ message (STATUS "Setting Linux Qt path: /opt/Qt/6.10.2 /gcc_64" )
1414endif ()
1515
1616function (setup_qt_definitions )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project_root=$PWD
88echo " Project root: ${project_root} "
99
1010echo " Start compiling..."
11- qmake=" /Users/runner/Qt/6.10.0 /macos/bin/qmake"
11+ qmake=" /Users/runner/Qt/6.10.2 /macos/bin/qmake"
1212build_dir=" ${project_root} /build/Desktop_Qt_6_8_1_macosbit-Release"
1313
1414rm -rf ${build_dir}
@@ -29,7 +29,7 @@ cp -af -v ${project_root}/bin-64/Release/Qt-App.app ${packet_dir}/
2929safe_rm " ${release_dir} /Qt-App.app"
3030
3131# deploy Qt-App
32- macdeployqt=" /Users/fxy/Qt/6.10.0 /macos/bin/macdeployqt"
32+ macdeployqt=" /Users/fxy/Qt/6.10.2 /macos/bin/macdeployqt"
3333${macdeployqt} ${packet_dir} /Qt-App.app -always-overwrite
3434cp -af -v ${packet_dir} /Qt-App.app ${release_dir} /
3535
You can’t perform that action at this time.
0 commit comments