From 1d61408af31667669edcbffc876e4eafdcacca96 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat, 24 Sep 2022 19:32:11 +0100 Subject: patch 9.0.0580: no CI running for MacOS on M1 Problem: No CI running for MacOS on M1. Solution: Add a cirrus CI task. (closes #11203) --- .cirrus.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 9512ca3d46..33863a30ee 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 -- cgit v1.2.3