comparison .cirrus.yml @ 30489:1e4d93103d01 v9.0.0580

patch 9.0.0580: no CI running for MacOS on M1 Commit: https://github.com/vim/vim/commit/1d61408af31667669edcbffc876e4eafdcacca96 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Sep 24 19:32:11 2022 +0100 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 https://github.com/vim/vim/issues/11203)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 20:45:03 +0200
parents 1bd1bfc64a47
children 4573f0cb7210
comparison
equal deleted inserted replaced
30488:a8718f9c260a 30489:1e4d93103d01
9 freebsd_instance: 9 freebsd_instance:
10 image_family: freebsd-13-1 10 image_family: freebsd-13-1
11 - name: FreeBSD 12.3 11 - name: FreeBSD 12.3
12 freebsd_instance: 12 freebsd_instance:
13 image_family: freebsd-12-3 13 image_family: freebsd-12-3
14 only_if: $CIRRUS_TAG == ''
15 timeout_in: 20m 14 timeout_in: 20m
16 install_script: 15 install_script:
17 - pkg update -f 16 - pkg update -f
18 - pkg install -y gettext 17 - pkg install -y gettext
19 build_script: 18 build_script:
24 - src/vim --version 23 - src/vim --version
25 # run tests as user "cirrus" instead of root 24 # run tests as user "cirrus" instead of root
26 - pw useradd cirrus -m 25 - pw useradd cirrus -m
27 - chown -R cirrus:cirrus . 26 - chown -R cirrus:cirrus .
28 - sudo -u cirrus make test 27 - 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