-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
73 lines (68 loc) · 1.79 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
task:
name: debian check/lint root
container:
image: debian:bullseye
cpu: 4
memory: 2
script: |
set -xe
dev/prep-for-debianish-build python3
dev/system-info
BUP_PYTHON_CONFIG=python3-config ./configure --with-pylint=yes
make V=1 -j6 check
task:
name: debian long-check
container:
image: debian:bullseye
cpu: 4
memory: 2
script: |
set -xe
dev/prep-for-debianish-build python3
DEBIAN_FRONTEND=noninteractive apt-get -y install bup
export BUP_TEST_OTHER_BUP="$(command -v bup)"
"$BUP_TEST_OTHER_BUP" version
dev/system-info
adduser --disabled-password --gecos '' bup
chown -R bup:bup .
printf "make V=1 -j6 -C %q BUP_PYTHON_CONFIG=python3-config long-check" \
"$(pwd)" | su -l -w BUP_TEST_OTHER_BUP bup
task:
name: debian check
container:
image: debian:buster
cpu: 4
memory: 2
script: |
set -xe
dev/prep-for-debianish-build python3
dev/system-info
adduser --disabled-password --gecos '' bup
chown -R bup:bup .
printf "make V=1 -j6 -C %q BUP_PYTHON_CONFIG=python3-config check" \
"$(pwd)" | su -l bup
task:
name: freebsd check
freebsd_instance:
image: freebsd-13-2-release-amd64
cpu: 4
memory: 4
script: |
set -xe
dev/prep-for-freebsd-build python3
dev/system-info
gmake V=1 -j6 check
task:
name: macos check
macos_instance:
# https://cirrus-ci.org/guide/macOS/
image: ghcr.io/cirruslabs/macos-runner:sonoma
script: |
set -xe
dev/prep-for-macos-build python3
brew install bup
export BUP_TEST_OTHER_BUP="$(command -v bup)"
"$BUP_TEST_OTHER_BUP" version
export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
dev/system-info
gmake V=1 -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check