Test Qt Dependencis
This commit is contained in:
Vendored
+15
-15
@@ -7,27 +7,27 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
checkout scm
|
checkout scm
|
||||||
|
bat '''
|
||||||
|
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
||||||
|
|
||||||
bat '''
|
cmake -S . -B build\\windows -G Ninja ^
|
||||||
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
-DCMAKE_BUILD_TYPE=Release ^
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake ^
|
||||||
|
-DVCPKG_TARGET_TRIPLET=x64-windows
|
||||||
|
|
||||||
cmake -S . -B build\\windows -G Ninja ^
|
cmake --build build\\windows
|
||||||
-DCMAKE_BUILD_TYPE=Release ^
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake ^
|
|
||||||
-DVCPKG_TARGET_TRIPLET=x64-windows
|
|
||||||
|
|
||||||
cmake --build build\\windows
|
if exist dist\\windows rmdir /s /q dist\\windows
|
||||||
|
mkdir dist\\windows
|
||||||
|
|
||||||
if exist dist\\windows rmdir /s /q dist\\windows
|
copy build\\windows\\test_app.exe dist\\windows\\test_app.exe
|
||||||
mkdir dist\\windows
|
|
||||||
|
|
||||||
copy build\\windows\\test_app.exe dist\\windows\\test_app.exe
|
for /f "delims=" %%i in ('dir /b /s C:\\vcpkg\\installed\\x64-windows\\tools\\Qt6\\windeployqt.exe') do set WINDEPLOYQT=%%i
|
||||||
|
|
||||||
C:\\vcpkg\\installed\\x64-windows\\tools\\Qt6\\bin\\windeployqt.exe ^
|
"%WINDEPLOYQT%" --release --no-translations dist\\windows\\test_app.exe
|
||||||
--release ^
|
|
||||||
--no-translations ^
|
xcopy /Y /I C:\\vcpkg\\installed\\x64-windows\\bin\\*.dll dist\\windows\\
|
||||||
dist\\windows\\test_app.exe
|
'''
|
||||||
'''
|
|
||||||
|
|
||||||
archiveArtifacts artifacts: 'dist/windows/**', fingerprint: true
|
archiveArtifacts artifacts: 'dist/windows/**', fingerprint: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user