summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-05-12 22:00:30 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2016-05-12 23:34:06 +1000
commitc160e5f31d6253628c4f1eea9d650f816158232d (patch)
treeff9c021ad7e09a6fe75a36e30791c1241d1be632 /appveyor.yml
parentd4712af5af93bc2aea47d15b52dedcc61d9f81f1 (diff)
downloadmpv-c160e5f31d6253628c4f1eea9d650f816158232d.tar.bz2
mpv-c160e5f31d6253628c4f1eea9d650f816158232d.tar.xz
Add Appveyor CI integration for Windows builds
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000000..f7ccde56f7
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,29 @@
+branches:
+ only:
+ - master
+ - appveyor
+
+environment:
+ matrix:
+ - MSYSTEM: MINGW64
+ - MSYSTEM: MINGW32
+
+shallow_clone: true
+test: off
+
+install:
+ # Update core packages
+ - C:\msys64\usr\bin\pacman -Syyuu --noconfirm
+ # Update non-core packages
+ - C:\msys64\usr\bin\pacman -Suu --noconfirm
+ # Install required MSYS2 packages
+ - C:\msys64\usr\bin\pacman -S --noconfirm --needed perl python pkg-config
+ # 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"
+on_failure:
+ - type "%APPVEYOR_BUILD_FOLDER%\build\config.log"
+
+cache:
+ - C:\msys64\var\cache\pacman\pkg