@@ -189,3 +189,123 @@ jobs:
189189 - name : releasetest
190190 run : |
191191 $GITHUB_WORKSPACE/tools/test/releasetest/releasetest
192+
193+ build-windows-msvc2022-qt67 :
194+ runs-on : windows-latest
195+ steps :
196+ - uses : actions/checkout@main
197+ - name : Install Qt
198+ uses : jurplel/install-qt-action@v4
199+ with :
200+ version : ' 6.7.3'
201+ host : ' windows'
202+ target : ' desktop'
203+ - name : Install VisualStudio tools
204+ run : |
205+ choco install visualstudio2022community --package-parameters "--includeRecommended --includeOptional"
206+ choco install visualstudio2022buildtools
207+ choco install visualstudio2022-workload-nativedesktop
208+ choco install visualstudio2022-workload-vctools
209+ # choco install jom
210+ - name : Build for debug mode
211+ shell : cmd
212+ run : |
213+ call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
214+ set CL=/MP
215+ qmake -version
216+ .\configure.bat --enable-debug
217+ cd src
218+ nmake
219+ nmake install
220+ cd ..\tools
221+ nmake
222+ nmake install
223+ cd test
224+ testall.bat
225+ - name : Build for release mode
226+ shell : cmd
227+ run : |
228+ call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
229+ set CL=/MP
230+ .\configure.bat
231+ cd src
232+ nmake
233+ nmake install
234+ cd ..\tools
235+ nmake
236+ nmake install
237+ tools\releasetest\releasetest.bat
238+
239+ build-windows-msvc2019-qt67 :
240+ runs-on : windows-latest
241+ steps :
242+ - uses : actions/checkout@main
243+ - name : Install Qt
244+ uses : jurplel/install-qt-action@v4
245+ with :
246+ version : ' 6.7.3'
247+ host : ' windows'
248+ target : ' desktop'
249+ - name : Install VisualStudio tools
250+ run : |
251+ choco install visualstudio2019community --package-parameters "--includeRecommended --includeOptional"
252+ # choco install visualstudio2019buildtools
253+ # choco install visualstudio2019-workload-nativedesktop
254+ choco install visualstudio2019-workload-vctools
255+ # choco install jom
256+ - name : Build for debug mode
257+ shell : cmd
258+ run : |
259+ call "C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
260+ where cl
261+ where nmake
262+ set CL=/MP
263+ qmake -version
264+ .\configure.bat --enable-debug
265+ cd src
266+ nmake
267+ nmake install
268+ cd ..\tools
269+ nmake
270+ nmake install
271+ cd test
272+ testall.bat
273+ - name : Build for release mode
274+ shell : cmd
275+ run : |
276+ call "C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
277+ set CL=/MP
278+ .\configure.bat
279+ cd src
280+ nmake
281+ nmake install
282+ cd ..\tools
283+ nmake
284+ nmake install
285+ tools\releasetest\releasetest.bat
286+
287+
288+ # build-windows-msvc2019-qt65:
289+ # runs-on: windows-latest
290+ # steps:
291+ # - uses: actions/checkout@main
292+ # - name: Install Qt
293+ # uses: jurplel/install-qt-action@latest
294+ # with:
295+ # version: '6.5.2'
296+ # host: 'windows'
297+ # target: 'desktop'
298+
299+ # choco install visualstudio2019buildtools --params "--add Microsoft.VisualStudio.Workload.VCTools"
300+ # refreshenv
301+
302+ # build-windows-msvc2019-qt62:
303+ # runs-on: windows-latest
304+ # steps:
305+ # - uses: actions/checkout@main
306+ # - name: Install Qt
307+ # uses: jurplel/install-qt-action@latest
308+ # with:
309+ # version: '6.2.7'
310+ # host: 'windows'
311+ # target: 'desktop'
0 commit comments