summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorPhilip H <47042125+pheiduck@users.noreply.github.com>2022-09-24 19:32:11 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-24 19:32:11 +0100
commit1d61408af31667669edcbffc876e4eafdcacca96 (patch)
tree1d1e2b254521839c7ee55bd52f7e508f8ca1944f /.cirrus.yml
parent0ff01835a40f549c5c4a550502f62a2ac9ac447c (diff)
downloadvim-git-1d61408af31667669edcbffc876e4eafdcacca96.tar.gz
patch 9.0.0580: no CI running for MacOS on M1v9.0.0580
Problem: No CI running for MacOS on M1. Solution: Add a cirrus CI task. (closes #11203)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 9512ca3d4..33863a30e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -11,7 +11,6 @@ freebsd_task:
- name: FreeBSD 12.3
freebsd_instance:
image_family: freebsd-12-3
- only_if: $CIRRUS_TAG == ''
timeout_in: 20m
install_script:
- pkg update -f
@@ -26,3 +25,20 @@ freebsd_task:
- pw useradd cirrus -m
- chown -R cirrus:cirrus .
- sudo -u cirrus make test
+
+macos_task:
+ name: macOS m1
+ macos_instance:
+ image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
+ timeout_in: 20m
+ install_script:
+ - uname -a
+ - brew update
+ - brew install gettext libtool
+ build_script:
+ - NPROC=$(getconf _NPROCESSORS_ONLN)
+ - ./configure --with-features=${FEATURES} --disable-channel
+ - make -j${NPROC} CC=clang
+ test_script:
+ - src/vim --version
+ - make CC=clang test