annotate .cirrus.yml @ 32053:76fd08a4ae1d v9.0.1358

patch 9.0.1358: compilation error with some compilers Commit: https://github.com/vim/vim/commit/30a844771554d28f1a88a256e6088dbb252228c1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 27 08:07:14 2023 +0000 patch 9.0.1358: compilation error with some compilers Problem: Compilation error with some compilers. Solution: Avoid using "class" as member name.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Feb 2023 09:15:04 +0100
parents d81e09faf28e
children e87f89061076
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
31381
d81e09faf28e patch 9.0.1024: CI doesn't use the latest FreeBSD version
Bram Moolenaar <Bram@vim.org>
parents: 30683
diff changeset
11 - name: FreeBSD 12.4
28729
1bd1bfc64a47 patch 8.2.4889: CI only tests with FreeBSD 12
Bram Moolenaar <Bram@vim.org>
parents: 28658
diff changeset
12 freebsd_instance:
31381
d81e09faf28e patch 9.0.1024: CI doesn't use the latest FreeBSD version
Bram Moolenaar <Bram@vim.org>
parents: 30683
diff changeset
13 image_family: freebsd-12-4
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:
30683
9549234f3f95 patch 9.0.0676: CI on Mac M1 with gcc actually uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30667
diff changeset
30 name: macOS m1
30489
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
30683
9549234f3f95 patch 9.0.0676: CI on Mac M1 with gcc actually uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30667
diff changeset
33 env:
9549234f3f95 patch 9.0.0676: CI on Mac M1 with gcc actually uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30667
diff changeset
34 # only run with clang, gcc is not real, it is a link to clang
9549234f3f95 patch 9.0.0676: CI on Mac M1 with gcc actually uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30667
diff changeset
35 CC: clang
30489
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
36 timeout_in: 20m
1e4d93103d01 patch 9.0.0580: no CI running for MacOS on M1
Bram Moolenaar <Bram@vim.org>
parents: 28729
diff changeset
37 install_script:
30667
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
38 - brew update
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
39 - brew install gettext libtool
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
40 build_script:
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
41 - NPROC=$(getconf _NPROCESSORS_ONLN)
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
42 - ./configure --with-features=${FEATURES}
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
43 - make -j${NPROC}
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
44 test_script:
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
45 - src/vim --version
6f76a14e0140 patch 9.0.0668: CI on Mac M1 only uses clang
Bram Moolenaar <Bram@vim.org>
parents: 30521
diff changeset
46 - make test