@@ -214,39 +214,42 @@ jobs:
214214 run : |
215215 cd ../tests && qmake CONFIG+=debug CONFIG+=DEV_MODE DEFINES+=INTEGRATION_TESTS -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib && make -s -j 8
216216 ../bin/tests/tests.app/Contents/MacOS/tests -platform minimal -txt
217- # - if: contains( matrix.os, 'windows') && (startsWith( matrix.qt-version, '5.' ) || matrix.qt-version == '6.2.4')
218- - if : contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '5.' )
219- name : Do Qt5 / Qt 6.2.4 Windows tests
217+ # Disable Qt5 Windows tests, because build tools are missing and we build Qt6 only now
218+ # - if: contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '5.' )
219+ # name: Do Qt5 Windows tests
220+ # run: |
221+ # $ErrorActionPreference = 'Stop'
222+ # cd ..\tests
223+ # qmake DEFINES+=INTEGRATION_TESTS
224+ # make
225+ # copy ..\build-systems\github\windows\libcrypto-1_1-x64.dll .
226+ # copy ..\build-systems\github\windows\libssl-1_1-x64.dll .
227+ # Get-ChildItem -Recurse -Force ..
228+ # copy ..\bin\tests\tests.exe .
229+ # # echo set
230+ # # gci env:* | sort-object name
231+ # # echo path
232+ # # echo echo $env:PATH
233+ # # cd ..\bin\tests
234+ # # echo test1
235+ # # .\tests.exe -txt
236+ # # echo windeployqt
237+ # windeployqt --debug tests.exe
238+ # # echo test2
239+ # .\tests.exe -txt
240+ - if : contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' )
241+ name : Do Qt 6.3+ Windows tests
220242 run : |
243+ $ErrorActionPreference = 'Stop'
221244 cd ..\tests
222- qmake DEFINES+=INTEGRATION_TESTS
223- make
245+ qmake6 DEFINES+=INTEGRATION_TESTS
246+ nmake
224247 copy ..\build-systems\github\windows\libcrypto-1_1-x64.dll .
225248 copy ..\build-systems\github\windows\libssl-1_1-x64.dll .
226249 Get-ChildItem -Recurse -Force ..
227250 copy ..\bin\tests\tests.exe .
228- # echo set
229- # gci env:* | sort-object name
230- # echo path
231- # echo echo $env:PATH
232- # cd ..\bin\tests
233- # echo test1
234- # .\tests.exe -txt
235- # echo windeployqt
236251 windeployqt --debug tests.exe
237- # echo test2
238252 .\tests.exe -txt
239- # - if: contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' )
240- # name: Do Qt 6.3+ Windows tests
241- # run: |
242- # cd ..\tests
243- # qmake6 DEFINES+=INTEGRATION_TESTS
244- # nmake
245- # copy ..\build-systems\github\windows\libcrypto-1_1-x64.dll .
246- # copy ..\build-systems\github\windows\libssl-1_1-x64.dll .
247- # copy ..\bin\tests\tests.exe .
248- # windeployqt --debug tests.exe
249- # .\tests.exe -txt
250253
251254 #
252255 # Build QOwnNotes
0 commit comments