]> arthur.barton.de Git - bup.git/blob - .cirrus.yml
Update base_version to 0.34~ for 0.34 development
[bup.git] / .cirrus.yml
1
2 task:
3   name: debian check/lint root
4   container:
5     image: debian:bullseye
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:bullseye
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:bullseye
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.9-config make -j6 check
59
60 task:
61   name: macos check
62   macos_instance:
63     # https://cirrus-ci.org/guide/macOS/
64     image: ghcr.io/cirruslabs/macos-monterey-base:latest
65   script: |
66     set -xe
67     dev/prep-for-macos-build python3
68     brew install bup
69     export BUP_TEST_OTHER_BUP="$(command -v bup)"
70     "$BUP_TEST_OTHER_BUP" version
71     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
72     dev/system-info
73     make -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check