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)
This commit is contained in:
Philip H
2022-09-24 19:32:11 +01:00
committed by Bram Moolenaar
parent 0ff01835a4
commit 1d61408af3
2 changed files with 19 additions and 1 deletions

View File

@ -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