@@ -190,26 +190,30 @@ jobs:
190190 run : |
191191 $GITHUB_WORKSPACE/tools/test/releasetest/releasetest
192192
193- build-windows-qt67 -msvc2022 :
193+ build-windows-qt68 -msvc2022 :
194194 runs-on : windows-latest
195195 steps :
196196 - uses : actions/checkout@main
197+ - name : Setup msbuild
198+ uses : microsoft/setup-msbuild@v2
199+ with :
200+ vs-version : ' [17,18)' # 17.xx
201+ msbuild-architecture : x64
197202 - name : Install Qt
198203 uses : jurplel/install-qt-action@v4
199204 with :
200- version : ' 6.7.3'
201- host : ' windows'
202- target : ' desktop'
203- - name : Install VisualStudio tools
205+ version : 6.8
206+ host : windows
207+ target : desktop
208+ setup-python : false
209+ - name : Install tools
204210 run : |
205- choco install visualstudio2022community -y
206- choco install visualstudio2022-workload-nativedesktop -y
207211 choco install sqlite -y
208212 choco install cmake -y
209- - name : Build for debug mode
213+ - name : Debug build
210214 shell : cmd
211215 run : |
212- call "C:\Program Files\Microsoft Visual Studio\2022\Community \VC\Auxiliary\Build\vcvars64.bat"
216+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise \VC\Auxiliary\Build\vcvars64.bat"
213217 set CL=/MP
214218 qmake -version
215219 call configure.bat --enable-debug
@@ -219,15 +223,15 @@ jobs:
219223 cd ..\tools
220224 nmake
221225 nmake install
222- - name : Test modules
226+ - name : Module test
223227 shell : cmd
224228 run : |
225229 cd src/test
226230 call testall.bat
227- - name : Build for release mode
231+ - name : Release build
228232 shell : cmd
229233 run : |
230- call "C:\Program Files\Microsoft Visual Studio\2022\Community \VC\Auxiliary\Build\vcvars64.bat"
234+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise \VC\Auxiliary\Build\vcvars64.bat"
231235 set CL=/MP
232236 call configure.bat
233237 cd src
@@ -236,28 +240,29 @@ jobs:
236240 cd ..\tools
237241 nmake
238242 nmake install
239- - name : Test release
243+ - name : Release test
240244 working-directory : tools\test\releasetest
241245 run : |
242246 .\releasetest.bat
243247
244- build-windows-qt67 -msvc2019 :
248+ build-windows-qt68 -msvc2019 :
245249 runs-on : windows-latest
246250 steps :
247251 - uses : actions/checkout@main
248252 - name : Install Qt
249253 uses : jurplel/install-qt-action@v4
250254 with :
251- version : ' 6.7.3'
252- host : ' windows'
253- target : ' desktop'
255+ version : 6.8
256+ host : windows
257+ target : desktop
258+ setup-python : false
254259 - name : Install VisualStudio tools
255260 run : |
256261 choco install visualstudio2019community -y
257262 choco install visualstudio2019-workload-nativedesktop -y
258263 choco install sqlite -y
259264 choco install cmake -y
260- - name : Build for debug mode
265+ - name : Debug build
261266 shell : cmd
262267 run : |
263268 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
@@ -270,12 +275,12 @@ jobs:
270275 cd ..\tools
271276 nmake
272277 nmake install
273- - name : Test modules
278+ - name : Module test
274279 shell : cmd
275280 run : |
276281 cd src/test
277282 call testall.bat
278- - name : Build for release mode
283+ - name : Release build
279284 shell : cmd
280285 run : |
281286 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
@@ -287,7 +292,7 @@ jobs:
287292 cd ..\tools
288293 nmake
289294 nmake install
290- - name : Test release
295+ - name : Release test
291296 working-directory : tools\test\releasetest
292297 run : |
293298 .\releasetest.bat
@@ -299,16 +304,18 @@ jobs:
299304 - name : Install Qt
300305 uses : jurplel/install-qt-action@v4
301306 with :
302- version : ' 6.5.2'
303- host : ' windows'
304- target : ' desktop'
307+ version : 6.5.2
308+ host : windows
309+ target : desktop
310+ arch : win64_msvc2019_64
311+ setup-python : false
305312 - name : Install VisualStudio tools
306313 run : |
307314 choco install visualstudio2019community -y
308315 choco install visualstudio2019-workload-nativedesktop -y
309316 choco install sqlite -y
310317 choco install cmake -y
311- - name : Build for debug mode
318+ - name : Debug build
312319 shell : cmd
313320 run : |
314321 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
@@ -321,12 +328,12 @@ jobs:
321328 cd ..\tools
322329 nmake
323330 nmake install
324- - name : Test modules
331+ - name : Module test
325332 shell : cmd
326333 run : |
327334 cd src/test
328335 call testall.bat
329- - name : Build for release mode
336+ - name : Release build
330337 shell : cmd
331338 run : |
332339 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
@@ -338,7 +345,7 @@ jobs:
338345 cd ..\tools
339346 nmake
340347 nmake install
341- - name : Test release
348+ - name : Release test
342349 working-directory : tools\test\releasetest
343350 run : |
344351 .\releasetest.bat
0 commit comments