8383 # ghQtBuilds_hash_x64: 673c288feeabd11ec66f9f454d49cde3945cbd3e3f71283b7a6c4df0893b19f2
8484
8585jobs :
86- Build_x64 :
87- runs-on : windows-2019
86+
87+ Build_x64_Qt6 :
88+ runs-on : windows-2022
8889 timeout-minutes : 45
8990
9091 steps :
9596 shell : cmd
9697 run : |
9798 @echo on
98- call "${{ github.workspace }}\Installer\buildVariables.cmd"
99+ call "${{ github.workspace }}\Installer\buildVariables.cmd" build_qt6
99100 echo qt6_version=%qt6_version% >> %GITHUB_ENV%
101+ echo qt_version=%qt6_version% >> %GITHUB_ENV%
100102
101103 - name : Setup msbuild
102104 uses : microsoft/setup-msbuild@v2
@@ -110,24 +112,28 @@ jobs:
110112
111113 - name : Build Sandboxie x64 (all)
112114 run : msbuild /t:build Sandboxie\Sandbox.sln /p:Configuration="SbieRelease" /p:Platform=x64 -maxcpucount:8
115+
116+ - name : Build Sandboxie x64 (drv)
117+ run : msbuild /t:build Sandboxie\SandboxDrv.sln /p:Configuration="SbieRelease" /p:Platform=x64 -maxcpucount:8
113118
114119 #
115120 # Prepare Qt Framework
116121 #
117122
118- # - name: Install Qt6 x64
119- 120- # with:
121- # # version: '6.2.4'
122- # version: '6.3.1'
123- # # dir: ..
124- # # arch: ${{ matrix.qt-target }}
125- # arch: 'win64_msvc2019_64'
126- # # tools: 'tools_qtcreator,4.14.0-0-202012170949,qt.tools.qtcreator'
127- # cache: true
123+ - name : Install Qt6 x64
124+ 125+ with :
126+ # version: '6.2.4'
127+ version : ' ${{ env.qt6_version }}'
128+ # dir: ..
129+ # arch: ${{ matrix.qt-target }}
130+ arch : ' win64_msvc2022_64'
131+ # tools: 'tools_qtcreator,4.14.0-0-202012170949,qt.tools.qtcreator'
132+ tools : ' tools_opensslv3_x64'
133+ cache : true
128134
129- - name : Install Qt5 x64
130- run : SandboxiePlus\install_qt.cmd x64
135+ # - name: Install Qt5 x64
136+ # run: SandboxiePlus\install_qt.cmd x64
131137
132138 - name : Installing Jom
133139 # if: steps.cache-qt.outputs.cache-hit != 'true'
@@ -138,7 +144,7 @@ jobs:
138144 #
139145
140146 - name : Build Sandboxie-Plus x64
141- run : SandboxiePlus\qmake_plus.cmd x64
147+ run : SandboxiePlus\qmake_plus.cmd x64 build_qt6
142148
143149 - name : Build SbieShell x64
144150 run : msbuild /t:restore,build -p:RestorePackagesConfig=true SandboxiePlus\SbieShell\SbieShell.sln /p:Configuration="Release" /p:Platform=x64
@@ -157,8 +163,8 @@ jobs:
157163# - name: Add Windows 7 compatible Qt6 DLLs
158164# run: Installer\fix_qt6_win7.cmd
159165
160- - name : Add missing languages for Qt5 (issue 1528)
161- run : Installer\fix_qt5_languages.cmd x64
166+ - name : Add missing languages for Qt6 (issue 1528)
167+ run : Installer\fix_qt5_languages.cmd x64 build_qt6
162168
163169 - name : Get openssl binaries
164170 run : Installer\get_openssl.cmd
@@ -167,7 +173,7 @@ jobs:
167173 run : Installer\get_7zip.cmd
168174
169175 - name : Merging Build
170- run : Installer\copy_build.cmd x64
176+ run : Installer\copy_build.cmd x64 build_qt6
171177
172178 - name : Collect installer assets
173179 run : Installer\get_assets.cmd
@@ -190,8 +196,11 @@ jobs:
190196 Installer/SbiePlus_x64/*
191197 retention-days : 60
192198
193- Build_ARM64 :
194- runs-on : windows-2019
199+
200+
201+
202+ Build_ARM64_Qt6 :
203+ runs-on : windows-2022
195204 timeout-minutes : 45
196205
197206 steps :
@@ -221,30 +230,33 @@ jobs:
221230 - name : Build Sandboxie ARM64EC (DLL)
222231 run : msbuild /t:build Sandboxie\SandboxDll.sln /p:Configuration="SbieRelease" /p:Platform=ARM64EC -maxcpucount:8
223232
233+ - name : Build Sandboxie ARM64 (drv)
234+ run : msbuild /t:build Sandboxie\SandboxDrv.sln /p:Configuration="SbieRelease" /p:Platform=ARM64 -maxcpucount:8
235+
224236 #
225237 # Prepare Qt Framework for ARM64 (we also need Qt x64 for some utilities like qmake)
226238 #
227239
228240 - name : Install Qt6 x64
229- uses : jurplel/install-qt-action@v4.2.1
241+ uses : jurplel/install-qt-action@v4.3.0
230242 with :
231243 # version: '6.2.4'
232244 version : ' ${{ env.qt6_version }}'
233245 # dir: ..
234246 # arch: ${{ matrix.qt-target }}
235- arch : ' win64_msvc2019_64 '
247+ arch : ' win64_msvc2022_64 '
236248 # tools: 'tools_qtcreator,4.14.0-0-202012170949,qt.tools.qtcreator'
237249 tools : ' tools_opensslv3_x64'
238250 cache : true
239251
240252 - name : Install Qt6 ARM64
241- uses : jurplel/install-qt-action@v4.2.1
253+ uses : jurplel/install-qt-action@v4.3.0
242254 with :
243255 # version: '6.2.4'
244256 version : ' ${{ env.qt6_version }}'
245257 # dir: ..
246258 # arch: ${{ matrix.qt-target }}
247- arch : ' win64_msvc2019_arm64 '
259+ arch : ' win64_msvc2022_arm64_cross_compiled '
248260 # tools: 'tools_qtcreator,4.14.0-0-202012170949,qt.tools.qtcreator'
249261 tools : ' tools_opensslv3_x64'
250262 cache : true
@@ -294,181 +306,3 @@ jobs:
294306 path : |
295307 Installer/SbiePlus_a64/*
296308 retention-days : 60
297-
298- Build_x86 :
299- runs-on : windows-2019
300- timeout-minutes : 45
301-
302- steps :
303- - name : Checkout code
304- 305-
306- - name : Setup msbuild
307- uses : microsoft/setup-msbuild@v2
308-
309- #
310- # Compile Sandboxie Core
311- #
312-
313- - name : Build Sandboxie x86 (all)
314- run : msbuild /t:build Sandboxie\Sandbox.sln /p:Configuration="SbieRelease" /p:Platform=Win32 -maxcpucount:8
315-
316- #
317- # Prepare Qt Framework
318- #
319-
320- - name : Install Qt5 x86
321- run : SandboxiePlus\install_qt.cmd Win32
322-
323- - name : Installing Jom
324- # if: steps.cache-qt.outputs.cache-hit != 'true'
325- run : SandboxiePlus\install_jom.cmd
326-
327- #
328- # Compile Sandboxie Plus
329- #
330-
331- - name : Build Sandboxie-Plus x86
332- run : SandboxiePlus\qmake_plus.cmd Win32
333-
334- #
335- # Compile Sandboxie Tools
336- #
337-
338- - name : Build Sandboxie-Tools x86
339- run : msbuild /t:build SandboxieTools\SandboxieTools.sln /p:Configuration="Release" /p:Platform=x86 -maxcpucount:8
340-
341- #
342- # Merge everything together
343- #
344-
345- - name : Add missing languages for Qt5 (issue 1528)
346- run : Installer\fix_qt5_languages.cmd Win32
347-
348- - name : Get openssl binaries
349- run : Installer\get_openssl.cmd
350-
351- - name : Get 7z binaries
352- run : Installer\get_7zip.cmd
353-
354- - name : Merging Build
355- run : Installer\copy_build.cmd x86
356-
357- - name : Upload Sandboxie x86
358- # if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
359- 360- with :
361- name : Sandboxie_x86
362- path : |
363- Installer/SbiePlus_x86/*
364- retention-days : 60
365-
366- Build_x64_Qt6 :
367- runs-on : windows-2019
368- timeout-minutes : 45
369-
370- steps :
371- - name : Checkout code
372- 373-
374- - name : Load Variables from buildVariables.cmd
375- shell : cmd
376- run : |
377- @echo on
378- call "${{ github.workspace }}\Installer\buildVariables.cmd" build_qt6
379- echo qt6_version=%qt6_version% >> %GITHUB_ENV%
380- echo qt_version=%qt6_version% >> %GITHUB_ENV%
381-
382- - name : Setup msbuild
383- uses : microsoft/setup-msbuild@v2
384-
385- #
386- # Compile Sandboxie Core
387- #
388-
389- - name : Build Sandboxie x86 (DLLs & svc)
390- run : msbuild /t:build Sandboxie\SandboxDll.sln /p:Configuration="SbieRelease" /p:Platform=Win32 -maxcpucount:8
391-
392- - name : Build Sandboxie x64 (all)
393- run : msbuild /t:build Sandboxie\Sandbox.sln /p:Configuration="SbieRelease" /p:Platform=x64 -maxcpucount:8
394-
395- #
396- # Prepare Qt Framework
397- #
398-
399- - name : Install Qt6 x64
400- 401- with :
402- # version: '6.2.4'
403- version : ' ${{ env.qt6_version }}'
404- # dir: ..
405- # arch: ${{ matrix.qt-target }}
406- arch : ' win64_msvc2019_64'
407- # tools: 'tools_qtcreator,4.14.0-0-202012170949,qt.tools.qtcreator'
408- tools : ' tools_opensslv3_x64'
409- cache : true
410-
411- # - name: Install Qt5 x64
412- # run: SandboxiePlus\install_qt.cmd x64
413-
414- - name : Installing Jom
415- # if: steps.cache-qt.outputs.cache-hit != 'true'
416- run : SandboxiePlus\install_jom.cmd
417-
418- #
419- # Compile Sandboxie Plus
420- #
421-
422- - name : Build Sandboxie-Plus x64
423- run : SandboxiePlus\qmake_plus.cmd x64 build_qt6
424-
425- - name : Build SbieShell x64
426- run : msbuild /t:restore,build -p:RestorePackagesConfig=true SandboxiePlus\SbieShell\SbieShell.sln /p:Configuration="Release" /p:Platform=x64
427-
428- #
429- # Compile Sandboxie Tools
430- #
431-
432- - name : Build Sandboxie-Tools x64
433- run : msbuild /t:build SandboxieTools\SandboxieTools.sln /p:Configuration="Release" /p:Platform=x64 -maxcpucount:8
434-
435- #
436- # Merge everything together
437- #
438-
439- # - name: Add Windows 7 compatible Qt6 DLLs
440- # run: Installer\fix_qt6_win7.cmd
441-
442- - name : Add missing languages for Qt6 (issue 1528)
443- run : Installer\fix_qt5_languages.cmd x64 build_qt6
444-
445- - name : Get openssl binaries
446- run : Installer\get_openssl.cmd
447-
448- - name : Get 7z binaries
449- run : Installer\get_7zip.cmd
450-
451- - name : Merging Build
452- run : Installer\copy_build.cmd x64 build_qt6
453-
454- - name : Collect installer assets
455- run : Installer\get_assets.cmd
456-
457- # - name: Upload installer assets
458- # #if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
459- 460- # with:
461- # name: Assets
462- # path: |
463- # Installer/Assets/*
464- # retention-days: 60
465-
466- - name : Upload Sandboxie x64 Qt6
467- # if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
468- 469- with :
470- name : Sandboxie_x64_Qt6
471- path : |
472- Installer/SbiePlus_x64/*
473- retention-days : 60
474-
0 commit comments