Sanmill/appveyor.yml

27 lines
864 B
YAML
Raw Normal View History

2019-09-05 23:56:36 +08:00
version: '#{build}'
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
qt: 5.13
releaseName: MillGame
before_build:
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set msvc=msvc2017
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set vs=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
- if "%platform%"=="x86" set QTDIR=C:\Qt\%qt%\%msvc%
- if "%platform%"=="x64" set QTDIR=C:\Qt\%qt%\%msvc%_64
- set PATH=%PATH%;%QTDIR%\bin;
- if "%platform%"=="x86" set vcvarsall=%vs%\vcvarsall.bat
- if "%platform%"=="x64" set vcvarsall=%vs%\vcvarsall.bat
- if "%platform%"=="x86" call "%vcvarsall%" x86
- if "%platform%"=="x64" call "%vcvarsall%" x64
build_script:
- qmake
- nmake
artifacts:
- path: release\MillGame.exe
name: $(releaseName)