diff --git a/utils/appveyor/after_build.bat b/utils/appveyor/after_build.bat index cbea4fb59be7c73dec507733fecea875193d24ab..24f9710c6fe9cc7e68fc9113292ab033009a2dae 100644 --- a/utils/appveyor/after_build.bat +++ b/utils/appveyor/after_build.bat @@ -4,7 +4,6 @@ git describe --tags --always HEAD > _git_tag.tmp || goto :error set /p AppVersion=<_git_tag.tmp del _git_tag.tmp -set QtRoot=%QTDIR% set Source=%APPVEYOR_BUILD_FOLDER% set Name=copyq-%AppVersion% set Destination=%APPVEYOR_BUILD_FOLDER%\%Name% @@ -29,6 +28,8 @@ xcopy /F "%BuildRoot%\src\*.qm" "%Destination%\translations" || goto :error mkdir "%Destination%\plugins" xcopy /F "%BuildPlugins%\*.dll" "%Destination%\plugins" || goto :error +%QTDIR%\bin\windeployqt --version +%QTDIR%\bin\windeployqt --help %QTDIR%\bin\windeployqt --release --no-system-d3d-compiler --no-angle --no-opengl-sw "%Executable%" || goto :error 7z a "%Name%.zip" -r "%Destination%" || goto :error diff --git a/utils/appveyor/before_build.bat b/utils/appveyor/before_build.bat index 5dfb2335e4e405ed5a687ed3397ba954df28ed0a..8f8b89aef0fda3c9dd63f02a33c5892dcd5cacc5 100644 --- a/utils/appveyor/before_build.bat +++ b/utils/appveyor/before_build.bat @@ -1,3 +1,4 @@ @echo on +%QTDIR%\bin\qmake --version cmake -H. -Bbuild -DWITH_TESTS=ON -DCMAKE_BUILD_TYPE=Release -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_ARCH%"