-
Notifications
You must be signed in to change notification settings - Fork 172
Expand file tree
/
Copy path.cirrus.yml
More file actions
56 lines (56 loc) · 2.45 KB
/
.cirrus.yml
File metadata and controls
56 lines (56 loc) · 2.45 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
check_task:
env:
CIRRUS_CLONE_DEPTH: 1
MAKEJOBS: "-j4"
PARALLEL_JOBS: "3"
DISTFILES_CACHE: "/tmp/distfiles"
CCACHE_DIR: "/tmp/.ccache"
CCACHE_COMPRESS: 1
CCACHE_SIZE: "200M"
CCACHE_STATIC_PREFIX: "/usr/local"
CCACHE_NOSTATS: 1
CCACHE_TEMPDIR: "/tmp"
BASEFS: ${CIRRUS_WORKING_DIR}/test_bulk
fdescfs_setup_script:
- mount -t fdescfs fdescfs /dev/fd
ccache_cache:
folder: ${CCACHE_DIR}
distfiles_cache:
folder: ${DISTFILES_CACHE}
populate_script: mkdir -p ${DISTFILES_CACHE}
pkg_bootstrap_script:
- env ASSUME_ALWAYS_YES=yes pkg bootstrap -f
- env IGNORE_OSVERSION=yes pkg update -f
shellcheck_setup_script:
- env IGNORE_OSVERSION=yes pkg install -y hs-ShellCheck
ccache_setup_script:
- env IGNORE_OSVERSION=yes pkg install -y ccache-static
- ccache --max-size=${CCACHE_SIZE}
# Build with asserts/debugging for checks. distcheck won't use asserts.
compile_script:
- ./configure --enable-debug=yes || { cat config.log; exit 1; }
- make ${MAKEJOBS}
test_jail_prep_script:
- make -C test prep
matrix:
- name: "Checkquick"
env:
SH: "sh"
checkquick_script: make -s ${MAKEJOBS} checkquick SH=${SH} VERBOSE=1 || { cat test/test-suite.log; exit 1; }
distcheckquick_script: make -s ${MAKEJOBS} distcheckquick SH=${SH} VERBOSE=1 || { find . -name test-suite.log -exec cat {} +; exit 1; }
always:
bulk_logs_cleanup_script:
- ( find -x test_bulk/data/logs/bulk ! -name '*.log' ! -name '.poudriere.*' ! -name '*.json' -delete; ) || true
test_logs_artifacts:
paths:
- "test/*.log"
- "test_bulk/data/logs/bulk/**"
type: text/plain
freebsd_instance:
cpu: 8
memory: 8G
matrix:
- image_family: freebsd-13-5-snap
- image_family: freebsd-14-3-snap
- image_family: freebsd-15-0-snap
# vim: sw=8 et: