annotate .cirrus.yml @ 28719:62cef8d5dd2b v8.2.4884

patch 8.2.4884: test fails without the job/channel feature Commit: https://github.com/vim/vim/commit/175913fb03ba33171bdfcb03db51d32a39e3e7a8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 6 13:27:08 2022 +0100 patch 8.2.4884: test fails without the job/channel feature Problem: Test fails without the job/channel feature. (Dominique Pell?) Solution: Add condition.
author Bram Moolenaar <Bram@vim.org>
date Fri, 06 May 2022 14:30:03 +0200
parents 3a4ed4d1080d
children 1bd1bfc64a47
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
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 freebsd_12_task:
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
6 only_if: $CIRRUS_TAG == ''
b2660a8bbf36 patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run
Bram Moolenaar <Bram@vim.org>
parents: 21580
diff changeset
7 timeout_in: 20m
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 freebsd_instance:
28658
3a4ed4d1080d patch 8.2.4853: CI with FreeBSD is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 23225
diff changeset
9 image: freebsd-12-3-release-amd64
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 install_script:
28658
3a4ed4d1080d patch 8.2.4853: CI with FreeBSD is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 23225
diff changeset
11 - pkg update -f
3a4ed4d1080d patch 8.2.4853: CI with FreeBSD is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 23225
diff changeset
12 - pkg install -y gettext
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 build_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
14 - NPROC=$(getconf _NPROCESSORS_ONLN)
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
15 - ./configure --with-features=${FEATURES}
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
16 - 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
17 test_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
18 - 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
19 # 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
20 - 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
21 - 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
22 - sudo -u cirrus make test