-
Notifications
You must be signed in to change notification settings - Fork 183
/
appveyor.yml
77 lines (66 loc) · 2.05 KB
/
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
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
# Email the author if their commit either failed to build or fixed a failed build
# good -> bad, bad -> bad, bad -> good but not good -> good
notifications:
- provider: Email
to:
- '{{commitAuthorEmail}}'
on_build_success: false
on_build_failure: true
on_build_status_changed: true
# Skip commits that don't affect the code / compiling the code
skip_commits:
files:
- .gitignore
- .gitlab-ci.yml
- .travis-install.bash
- .travis.yml
- LICENSE
- CREDITS
- README.md
- docs.doxy
# Downloading the whole history of the repository would be unnecessary
clone_depth: 1
# Only try building the app, don't run any tests
test: off
# Don't bother with debug builds
configuration:
- Release
# Build with multiple compilers / build suites
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSYSTEM: MINGW32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSYSTEM: MINGW64
for:
-
# MinGW builds need all kinds of build scripts
matrix:
only:
- MSYSTEM: MINGW32
- MSYSTEM: MINGW64
install:
# Update core packages
- C:\msys64\usr\bin\pacman -Syyuu --noconfirm --noprogressbar
# Update non-core packages
- C:\msys64\usr\bin\pacman -Suu --noconfirm --noprogressbar
# Install required MSYS2 packages
- C:\msys64\usr\bin\pacman -S --noconfirm --noprogressbar --needed automake-wrapper make
# Now MSYS2 is up to date, do the rest of the install from a bash script
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./tools/appveyor-install.sh"
build_script:
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./tools/appveyor-build.sh"
cache:
- C:\msys64\var\cache\pacman\pkg
-
# MSVC builds only need vsyasm and the solution file
matrix:
except:
- MSYSTEM: MINGW32
- MSYSTEM: MINGW64
build:
project: .\build\kvazaar_VS2015.sln