-
Notifications
You must be signed in to change notification settings - Fork 164
/
.cirrus.yml
55 lines (55 loc) · 2.36 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
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
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: "Check"
env:
SH: "sh"
- name: "Check (/bin/sh)"
env:
SH: "/bin/sh"
check_script: make -s ${MAKEJOBS} checkquick SH=${SH} VERBOSE=1 || { cat test/test-suite.log; exit 1; }
distcheck_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: freebsd-14-1-release-amd64
- image: freebsd-13-4-release-amd64
- image_family: freebsd-14-0-snap
# vim: sw=8 et: