-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.appveyor.yml
More file actions
77 lines (63 loc) · 2.21 KB
/
.appveyor.yml
File metadata and controls
77 lines (63 loc) · 2.21 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 1.0.{build}
clone_folder: C:\projects\PolyEngineExamples
image:
- Visual Studio 2017
configuration:
- Release
- Debug
platform:
- x64
environment:
arch: Win64
QTDIR: C:\Qt\5.10.1\msvc2017_64
PATH: '%PATH%;%QTDIR%\bin;'
PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.0"
PYTHON_ARCH: "64"
matrix:
- PROJECT_PATH: C:\projects\PolyEngineExamples\GlobalGameJam2018Game
SOLUTION_PATH: C:\projects\PolyEngineExamples\GlobalGameJam2018Game\Build\PolyJamGame.sln
- PROJECT_PATH: C:\projects\PolyEngineExamples\SGJ2017Game
SOLUTION_PATH: C:\projects\PolyEngineExamples\SGJ2017Game\Build\SGJ2017Game.sln
- PROJECT_PATH: C:\projects\PolyEngineExamples\SGJ2018Game
SOLUTION_PATH: C:\projects\PolyEngineExamples\SGJ2018Game\Build\SGJ18.sln
- PROJECT_PATH: C:\projects\PolyEngineExamples\SandboxPhysics3D
SOLUTION_PATH: C:\projects\PolyEngineExamples\SandboxPhysics3D\Build\SandboxPhysics3D.sln
- PROJECT_PATH: C:\projects\PolyEngineExamples\SandboxRendering
SOLUTION_PATH: C:\projects\PolyEngineExamples\SandboxRendering\Build\SandboxRendering.sln
# - arch: #does not work, Release|x64 not a valid target
matrix:
fast_finish: true
# install python interpreter
install:
- ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python --version
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- echo %arch%
- echo %QTDIR%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
- echo %generator%
before_build:
- cmd: |-
cd C:\projects
git clone https://github.com/KNTGPolygon/PolyEngine.git
cd C:\projects\PolyEngine\PolyEngine\Scripts
python ProjectTool.py -u %PROJECT_PATH%
build:
project: $(SOLUTION_PATH)
verbosity: minimal
parallel: true
notifications:
- provider: Slack
auth_token:
secure: DWi4NgrRL7/v8v7PyZ03XRepd1bk7t482/T7SpHCaELiOt8hWu/pZpgjfUDfXsZA
channel: ci-build
on_build_success: true
on_build_failure: true
on_build_status_changed: false