]> arthur.barton.de Git - bup.git/blob - .cirrus.yml
Drop support for python 2
[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     dev/system-info
25     adduser --disabled-password --gecos '' bup
26     chown -R bup:bup .
27     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config long-check" \
28       "$(pwd)" | su -l bup
29
30 task:
31   name: debian check
32   container:
33     image: debian:buster
34     cpu: 4
35     memory: 2
36   script: |
37     set -xe
38     dev/prep-for-debianish-build python3
39     dev/system-info
40     adduser --disabled-password --gecos '' bup
41     chown -R bup:bup .
42     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config check" \
43       "$(pwd)" | su -l bup
44
45 task:
46   name: freebsd check
47   freebsd_instance:
48     image: freebsd-12-2-release-amd64
49     cpu: 4
50     memory: 4
51   script: |
52     set -xe
53     dev/prep-for-freebsd-build python3
54     dev/system-info
55     BUP_PYTHON_CONFIG=python3.8-config make -j6 check
56
57 task:
58   name: macos check
59   osx_instance:
60     image: catalina-base
61   script: |
62     set -xe
63     dev/prep-for-macos-build python3
64     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
65     dev/system-info
66     make -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check