annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
1 env:
18736
97d534e17874 patch 8.1.2358: tests fail on Cirrus CI for FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 18728
diff changeset
2 CIRRUS_CLONE_DEPTH: 3
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
3 FEATURES: huge
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
4
28729
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
5 freebsd_task:
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
6 name: FreeBSD
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
7 matrix:
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
8 - name: FreeBSD 13.1
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
9 freebsd_instance:
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
10 image_family: freebsd-13-1
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
11 - name: FreeBSD 12.3
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
12 freebsd_instance:
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
13 image_family: freebsd-12-3
23225
b2660a8bbf36 patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run
Bram Moolenaar <Bram@vim.org>
parents: 21580
diff changeset
14 timeout_in: 20m
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 install_script:
28658
3a4ed4d1080d patch 8.2.4853: CI with FreeBSD is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 23225
diff changeset
16 - pkg update -f
3a4ed4d1080d patch 8.2.4853: CI with FreeBSD is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 23225
diff changeset
17 - pkg install -y gettext
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 build_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
19 - NPROC=$(getconf _NPROCESSORS_ONLN)
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
20 - ./configure --with-features=${FEATURES}
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
21 - make -j${NPROC}
21580
93dae47699fb patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
22 test_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
23 - src/vim --version
21580
93dae47699fb patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
24 # run tests as user "cirrus" instead of root
93dae47699fb patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
25 - pw useradd cirrus -m
93dae47699fb patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
26 - chown -R cirrus:cirrus .
93dae47699fb patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
27 - sudo -u cirrus make test
30489
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
28
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
29 macos_task:
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
30 name: macOS m1
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
31 macos_instance:
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
32 image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
33 timeout_in: 20m
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
34 install_script:
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
35 - uname -a
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
36 - brew update
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
37 - brew install gettext libtool
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
38 build_script:
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
39 - NPROC=$(getconf _NPROCESSORS_ONLN)
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
40 - ./configure --with-features=${FEATURES} --disable-channel
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
41 - make -j${NPROC} CC=clang
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
42 test_script:
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
43 - src/vim --version
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
44 - make CC=clang test