annotate .cirrus.yml @ 23225:b2660a8bbf36 v8.2.2158

patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run Commit: https://github.com/vim/vim/commit/6e562fcc07c71ad1437c89c3d3cc423efb691f0a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 18 16:29:25 2020 +0100 patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run Problem: CI on cirrus times out, coveralls doesn't always run. Solution: Set timeout to 20 minutes. Adjust condition. (closes https://github.com/vim/vim/issues/7493)
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Dec 2020 16:45:03 +0100
parents 93dae47699fb
children 3a4ed4d1080d
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:
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 image: freebsd-12-1-release-amd64
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 install_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
11 pkg install -y gettext
18722
3bc59131171f Cirrus CI: add a simple CI using BSD
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 build_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
13 - NPROC=$(getconf _NPROCESSORS_ONLN)
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
14 - ./configure --with-features=${FEATURES}
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
15 - 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
16 test_script:
18728
9f1cf1458708 patch 8.1.2354: Cirrus CI runs on another repository
Bram Moolenaar <Bram@vim.org>
parents: 18722
diff changeset
17 - 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
18 # 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
19 - 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
20 - 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
21 - sudo -u cirrus make test