]> arthur.barton.de Git - bup.git/blob - .cirrus.yml
cirrus: use apt-get, not apt to install bup
[bup.git] / .cirrus.yml
1
2 task:
3   name: debian check/lint root
4   container:
5     image: debian:buster
6     cpu: 4
7     memory: 2
8   script: |
9     set -xe
10     dev/prep-for-debianish-build python3
11     dev/system-info
12     BUP_PYTHON_CONFIG=python3-config ./configure --with-pylint=yes
13     make -j6 check
14
15 task:
16   name: debian long-check
17   container:
18     image: debian:buster
19     cpu: 4
20     memory: 2
21   script: |
22     set -xe
23     dev/prep-for-debianish-build python3
24     DEBIAN_FRONTEND=noninteractive apt-get -y install bup
25     export BUP_TEST_OTHER_BUP="$(command -v bup)"
26     "$BUP_TEST_OTHER_BUP" version
27     dev/system-info
28     adduser --disabled-password --gecos '' bup
29     chown -R bup:bup .
30     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config long-check" \
31       "$(pwd)" | su -l bup
32
33 task:
34   name: debian check
35   container:
36     image: debian:buster
37     cpu: 4
38     memory: 2
39   script: |
40     set -xe
41     dev/prep-for-debianish-build python3
42     dev/system-info
43     adduser --disabled-password --gecos '' bup
44     chown -R bup:bup .
45     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config check" \
46       "$(pwd)" | su -l bup
47
48 task:
49   name: freebsd check
50   freebsd_instance:
51     image: freebsd-12-2-release-amd64
52     cpu: 4
53     memory: 4
54   script: |
55     set -xe
56     dev/prep-for-freebsd-build python3
57     dev/system-info
58     BUP_PYTHON_CONFIG=python3.8-config make -j6 check
59
60 task:
61   name: macos check
62   osx_instance:
63     image: catalina-base
64   script: |
65     set -xe
66     dev/prep-for-macos-build python3
67     brew install bup
68     export BUP_TEST_OTHER_BUP="$(command -v bup)"
69     "$BUP_TEST_OTHER_BUP" version
70     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
71     dev/system-info
72     make -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check