forked from griefly/griefly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
30 lines (24 loc) · 997 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 1.0.{build}
image: Visual Studio 2015
environment:
QT5DIR: C:\Qt\5.8
PYTHON: C:\Python35
install:
- cmd: set CMAKE_PREFIX_PATH=%QT5DIR%\msvc2015_64
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64'
- cmd: set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
build_script:
- cmd: cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=On -DPYTHON_ROOT_DIR=%PYTHON%
- cmd: cmake --build . --target install --config Release -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- cmd: '%QT5DIR%\msvc2015_64\bin\windeployqt.exe Exec/KVEngine.exe'
- cmd: for /f "tokens=* USEBACKQ" %%F in (`git describe --tags --abbrev^=4`) do set KVVERSION=%%F
- cmd: set KVVERSION=Griefly-%KVVERSION%-win64
- cmd: echo %KVVERSION%
- cmd: ren Exec %KVVERSION%
test_script:
- cmd: cd %KVVERSION%
- cmd: KVEngine.exe --run-tests
artifacts:
- path: '%KVVERSION%'
name: '%KVVERSION%'