1+ # Author:Kang Lin <kl222@126.com>
2+
13name : build_msvc
24
35on :
@@ -12,14 +14,14 @@ jobs:
1214 strategy :
1315 matrix :
1416 BUILD_TYPE : [Release, Debug]
15- qt_version : [6.6.3 , 5.15.2, 5.12.12]
17+ qt_version : [6.8.1 , 5.15.2, 5.12.12]
1618 include :
17- - qt_version : 6.6.3
19+ - qt_version : 6.8.1
1820 VCPKG_TARGET_TRIPLET : x64-windows
1921 VCPKG_PLATFORM_TOOLSET : v143
20- qt_arch : win64_msvc2019_64
22+ qt_arch : win64_msvc2022_64
2123 CMAKE_GENERATOR_PLATFORM : x64
22- qt_modules : qtscxml qtserialport qtwebchannel qtpositioning
24+ qt_modules : qtscxml qtserialport
2325
2426 - qt_version : 5.15.2
2527 VCPKG_TARGET_TRIPLET : x64-windows
@@ -40,17 +42,17 @@ jobs:
4042 runs-on : windows-latest
4143
4244 env :
45+ SerialPortAssistant_VERSION : v0.5.26
4346 SOURCE_DIR : ${{github.workspace}}\.cache\source
4447 TOOSL_DIR : ${{github.workspace}}\.cache\tools
4548 INSTALL_DIR : ${{github.workspace}}\.cache\install_${{matrix.qt_arch}}_${{matrix.BUILD_TYPE}}
4649 CMAKE_GENERATOR : " Visual Studio 17 2022"
47- VCPKG_PLATFORM_TOOLSET : ${{matrix.VCPKG_PLATFORM_TOOLSET}}
48- VCPKG_MANIFEST_DIR : " ${{github.workspace}}${{matrix.VCPKG_MANIFEST_DIR}}"
4950 CMAKE_GENERATOR_PLATFORM : ${{matrix.CMAKE_GENERATOR_PLATFORM}}
50- SerialPortAssistant_VERSION : v0.5.26
5151 VCPKGGITCOMMITID : 59aeb8fe8fe1c980de6bd5ba634cf21024522d81
5252 VCPKG_TARGET_TRIPLET : ${{matrix.VCPKG_TARGET_TRIPLET}}
53- qt_modules : qtwebengine ${{matrix.qt_modules}}
53+ VCPKG_PLATFORM_TOOLSET : ${{matrix.VCPKG_PLATFORM_TOOLSET}}
54+ VCPKG_MANIFEST_DIR : " ${{github.workspace}}${{matrix.VCPKG_MANIFEST_DIR}}"
55+ qt_modules : ${{matrix.qt_modules}}
5456 artifact_name : build_msvc
5557
5658 # Map the job outputs to step outputs
6567 - name : Checkout Repository
6668 uses : actions/checkout@v3
6769 with :
68- submodules : true
70+ submodules : recursive
6971
7072 - name : Make directories
7173 run : |
8082 with :
8183 path : |
8284 ${{env.INSTALL_DIR}}
83- key : cache-installed-msvc-${{ matrix.qt_arch}}
85+ key : cache-installed-msvc-${{matrix.qt_arch}}
8486
8587 - name : run-vcpkg
8688 uses : lukka/run-vcpkg@v11
@@ -119,8 +121,8 @@ jobs:
119121 -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake ^
120122 -DVCPKG_MANIFEST_DIR=${{env.VCPKG_MANIFEST_DIR}} ^
121123 -DVCPKG_VERBOSE=ON ^
122- -DX_VCPKG_APPLOCAL_DEPS_INSTALL=OFF ^
123- -DVCPKG_APPLOCAL_DEPS=OFF ^
124+ -DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON ^
125+ -DVCPKG_APPLOCAL_DEPS=ON ^
124126 -DRABBIT_ENABLE_INSTALL_DEPENDENT=ON ^
125127 -DRABBIT_ENABLE_INSTALL_QT=ON ^
126128 -DRABBIT_ENABLE_INSTALL_TO_BUILD_PATH=OFF
@@ -140,7 +142,7 @@ jobs:
140142 copy /Y SerialPortAssistant_Setup_${{env.SerialPortAssistant_VERSION}}.exe SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_${{matrix.qt_arch}}_qt${{matrix.qt_version}}_Setup.exe
141143
142144 - name : Update configure file
143- if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.6.3 ' }}
145+ if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.8.1 ' }}
144146 working-directory : ${{github.workspace}}\build
145147 run : |
146148 .\install\bin\SerialPortAssistant.exe ^
0 commit comments