From b71359e92a64bfcbd5f1ef4b1b64134003a2c8e8 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Wed, 13 Feb 2019 14:54:40 +0800 Subject: [PATCH] Update Windows CI --- .appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 611eb6c..cdcc585 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -3,13 +3,13 @@ image: Visual Studio 2017 environment: DEPLOY_DIR: Spectral-%APPVEYOR_BUILD_VERSION% matrix: - - QTDIR: C:\Qt\5.11\msvc2017_64 + - QTDIR: C:\Qt\5.12.1\mingw73_64 VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" PLATFORM: init: - call "%QTDIR%\bin\qtenv2.bat" - - set PATH=C:\Qt\Tools\QtCreator\bin;%PATH% + - set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin;%QT_DIR%\bin;C:\MinGW\bin - call "%VCVARS%" %platform% - cd /D "%APPVEYOR_BUILD_FOLDER%" @@ -18,10 +18,10 @@ before_build: build_script: - qmake spectral.pro CONFIG+=release CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%" - - nmake + - mingw32-make after_build: - - nmake install + - mingw32-make install - windeployqt --release --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe" - 7z a spectral.zip "%DEPLOY_DIR%\"