summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-10-16 19:27:13 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-10-25 19:23:53 +0100
commitfc84471ae2867823f56b1ad1705de324c2d8b725 (patch)
tree0987a30d8a45865b96ed5594a3134be719eb059a /.cirrus.yml
parent0cb3e7ba8fd04a578d6c66fbcff5d28fa7636d84 (diff)
cirrus.yml: add latest Xcode build target
CirrusCI provides a mojave-xcode alias for the latest Xcode available. Let's use it to make sure we track the latest releases. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 8326a3a4b1..27efc48619 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -25,3 +25,14 @@ macos_task:
- ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- gmake check -j$(sysctl -n hw.ncpu)
+
+macos_xcode_task:
+ osx_instance:
+ # this is an alias for the latest Xcode
+ image: mojave-xcode
+ install_script:
+ - brew install pkg-config gnu-sed glib pixman make sdl2
+ script:
+ - ./configure --cc=clang || { cat config.log; exit 1; }
+ - gmake -j$(sysctl -n hw.ncpu)
+ - gmake check -j$(sysctl -n hw.ncpu)