forked from gongminmin/KlayGE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
37 lines (30 loc) · 920 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
31
32
33
34
35
36
37
version: '{branch}-{build}'
clone_depth: 5
platform:
- x64
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
COMPILER: vc141
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
COMPILER: vc140
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
COMPILER: mingw
MINGW_PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
configuration:
- Release
cache:
- External
- KlayGE/media
- KlayGE/Samples/media
- KlayGE/Tests/media
- KlayGE/Tools/media
- KlayGE/Tutorials/media
before_build:
# Workaround for CMake not wanting sh.exe on PATH for MinGW
- if "%COMPILER%" equ "mingw" set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if "%COMPILER%" equ "mingw" set PATH=%MINGW_PATH%;%PATH%
build_script:
# Reset the repo to restore changes in External
- git reset --hard
- python BuildAll.py %COMPILER% %PLATFORM% %CONFIGURATION%