OSDN Git Service

cirrus.yml: add latest Xcode build target
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 16 Oct 2019 18:27:13 +0000 (19:27 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 25 Oct 2019 18:23:53 +0000 (19:23 +0100)
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>
.cirrus.yml

index 8326a3a..27efc48 100644 (file)
@@ -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)