-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.cirrus.yml
31 lines (28 loc) · 1.24 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
env:
PATH: /usr/local/bin:$PATH
MD5SUM: /sbin/md5sum
CMOCKA_INSTALL: $PWD/builds/cmocka-install
CHECKPATCH_INSTALL: $PWD/builds/checkpatch-install
global_task_template: &GLOBAL_TASK_TEMPLATE
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'main' || $CIRRUS_BRANCH =~ 'release/.*' || $CIRRUS_PR != ''
skip: "!changesInclude('.cirrus.yml', 'ci/before_install/freebsd.sh') && changesIncludeOnly('*.sh', '.*', '_*', 'Brewfile', 'ci/**/*', 'doc/*', 'doc/**/*', '*.adoc', '*.md', '*.nix', 'flake.lock', '.github/**/*') || $CIRRUS_CHANGE_MESSAGE =~ '.*skip ci.*'"
setup_environment_script: |
# Update all packages to avoid "version FBSD_1.6 not found" error
# See: https://forums.freebsd.org/threads/lib-libc-so-7-version-fbsd_1-6-required-by-usr-local-lib-libepoll-shim-so-0-not-found.81021/
pkg update -f
pkg upgrade -f -y
# Use bash for the CI scripts
pkg install -y devel/readline bash
install_build_prerequisites_script:
- ./ci/before_install.sh
- bash ./ci/install.sh
ci_script:
- bash ./ci/main.sh
freebsd-12-3-task:
<< : *GLOBAL_TASK_TEMPLATE
freebsd_instance:
image: freebsd-12-3-release-amd64
freebsd-13-task:
<< : *GLOBAL_TASK_TEMPLATE
freebsd_instance:
image: freebsd-13-0-release-amd64