annotate .cirrus.yml @ 26650:a07323eb647f v8.2.3854

patch 8.2.3854: Vim9: inconsistent arguments for test functions Commit: https://github.com/vim/vim/commit/86b3ab4fa0de3e8884ab6a6ced2a70592b937d0f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 19 18:33:23 2021 +0000 patch 8.2.3854: Vim9: inconsistent arguments for test functions Problem: Vim9: inconsistent arguments for test functions. Solution: When :def function and script have different arguments use a list with two items instead of a separate function.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Dec 2021 19:45:03 +0100
parents b2660a8bbf36
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