2019-06-24 13:48:48 +00:00
|
|
|
# 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}}'
|
2019-06-25 15:15:17 +00:00
|
|
|
on_build_success: false
|
2019-06-24 13:48:48 +00:00
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|
|
|
|
|
2019-06-25 15:15:17 +00:00
|
|
|
# Skip commits that don't affect the code / compiling the code
|
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- .gitignore
|
|
|
|
- .gitlab-ci.yml
|
|
|
|
- .travis-install.bash
|
|
|
|
- .travis.yml
|
2021-10-07 08:32:59 +00:00
|
|
|
- LICENSE
|
2019-06-25 15:15:17 +00:00
|
|
|
- CREDITS
|
|
|
|
- README.md
|
|
|
|
- docs.doxy
|
|
|
|
|
2019-06-24 13:48:48 +00:00
|
|
|
# Download only a zip file of the latest commit
|
|
|
|
# Downloading the whole history of the repository would be unnecessary
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
# 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
|
2016-10-21 14:37:48 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2021-03-04 17:46:08 +00:00
|
|
|
- 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
|
2016-10-21 14:37:48 +00:00
|
|
|
|
2019-06-24 13:48:48 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: $url = "http://ultravideo.cs.tut.fi/vsyasm.exe"
|
|
|
|
- ps: $output = "C:\Tools\vsyasm.exe"
|
|
|
|
- ps: "(New-Object System.Net.WebClient).DownloadFile($url, $output)"
|
|
|
|
- ps: '$env:Path += ";$output\.."'
|
2016-10-21 14:37:48 +00:00
|
|
|
|
2019-06-24 13:48:48 +00:00
|
|
|
build:
|
|
|
|
project: .\build\kvazaar_VS2015.sln
|