Skip to content

Commit 1d61408

Browse files
pheiduckbrammool
authored andcommitted
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)
1 parent 0ff0183 commit 1d61408

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.cirrus.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ freebsd_task:
1111
- name: FreeBSD 12.3
1212
freebsd_instance:
1313
image_family: freebsd-12-3
14-
only_if: $CIRRUS_TAG == ''
1514
timeout_in: 20m
1615
install_script:
1716
- pkg update -f
@@ -26,3 +25,20 @@ freebsd_task:
2625
- pw useradd cirrus -m
2726
- chown -R cirrus:cirrus .
2827
- sudo -u cirrus make test
28+
29+
macos_task:
30+
name: macOS m1
31+
macos_instance:
32+
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
33+
timeout_in: 20m
34+
install_script:
35+
- uname -a
36+
- brew update
37+
- brew install gettext libtool
38+
build_script:
39+
- NPROC=$(getconf _NPROCESSORS_ONLN)
40+
- ./configure --with-features=${FEATURES} --disable-channel
41+
- make -j${NPROC} CC=clang
42+
test_script:
43+
- src/vim --version
44+
- make CC=clang test

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,8 @@ static char *(features[]) =
699699

700700
static int included_patches[] =
701701
{ /* Add new patch number below this line */
702+
/**/
703+
580,
702704
/**/
703705
579,
704706
/**/

0 commit comments

Comments
 (0)