diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-06 00:26:11 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-07 11:21:38 +0100 |
commit | 44c54affda4526a90e20d457786fa6fc2d3cbe06 (patch) | |
tree | 6eb69f160eba89490db4ead05ae2a99e831558f4 /ci | |
parent | 2930d3bda64ef02d9baaee2165690e3eb4ad9455 (diff) | |
download | meson-44c54affda4526a90e20d457786fa6fc2d3cbe06.zip meson-44c54affda4526a90e20d457786fa6fc2d3cbe06.tar.gz meson-44c54affda4526a90e20d457786fa6fc2d3cbe06.tar.bz2 |
Add Cygwin/x86_64 to AppVeyor CI matrix
Install ninja and packages needed for tests
Don't bother with x86 for speed and reliability reasons
Diffstat (limited to 'ci')
-rw-r--r-- | ci/appveyor-install.bat | 11 | ||||
-rwxr-xr-x | ci/appveyor-test.sh | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ci/appveyor-install.bat b/ci/appveyor-install.bat new file mode 100644 index 0000000..0c1ce44 --- /dev/null +++ b/ci/appveyor-install.bat @@ -0,0 +1,11 @@ +set CACHE=C:\cache +set CYGWIN_MIRROR="http://cygwin.mirror.constant.com" + +if _%arch%_ == _x64_ set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64 +if _%arch%_ == _x86_ set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin + +if not exist %CACHE% mkdir %CACHE% + +echo Updating Cygwin and installing ninja and test prerequisites +%CYGWIN_ROOT%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%" -g -P "ninja,gcc-objc,gcc-objc++,libglib2.0-devel,zlib-devel" +echo Install done diff --git a/ci/appveyor-test.sh b/ci/appveyor-test.sh new file mode 100755 index 0000000..2f29630 --- /dev/null +++ b/ci/appveyor-test.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +echo ninja $(ninja --version) +python3 --version -V + +python3 run_tests.py --backend=${backend} |