]> arthur.barton.de Git - bup.git/blob - .cirrus.yml
make: add check-py2 and check-py3 targets
[bup.git] / .cirrus.yml
1
2 task:
3   name: debian (py2 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 python2
11     dev/system-info
12     BUP_PYTHON_CONFIG=python2.7-config ./configure --with-pylint=yes
13     make -j6 check
14
15 task:
16   name: debian (py2 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 python2
24     dev/system-info
25     adduser --disabled-password --gecos '' bup
26     chown -R bup:bup .
27     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python2.7-config long-check" \
28       "$(pwd)" | su -l bup
29
30 task:
31   name: debian (py2 check)
32   container:
33     image: debian:buster
34     cpu: 4
35     memory: 2
36   script: |
37     set -xe
38     dev/prep-for-debianish-build python2
39     dev/system-info
40     adduser --disabled-password --gecos '' bup
41     chown -R bup:bup .
42     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python2.7-config check" \
43       "$(pwd)" | su -l bup
44
45 task:
46   name: debian (py3 check/lint root)
47   container:
48     image: debian:buster
49     cpu: 4
50     memory: 2
51   script: |
52     set -xe
53     dev/prep-for-debianish-build python3
54     dev/system-info
55     BUP_PYTHON_CONFIG=python3-config ./configure --with-pylint=yes
56     make -j6 check
57
58 task:
59   name: debian (py3 long-check)
60   container:
61     image: debian:buster
62     cpu: 4
63     memory: 2
64   script: |
65     set -xe
66     dev/prep-for-debianish-build python3
67     dev/system-info
68     adduser --disabled-password --gecos '' bup
69     chown -R bup:bup .
70     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config long-check" \
71       "$(pwd)" | su -l bup
72
73 task:
74   name: debian (py3 check)
75   container:
76     image: debian:buster
77     cpu: 4
78     memory: 2
79   script: |
80     set -xe
81     dev/prep-for-debianish-build python3
82     dev/system-info
83     adduser --disabled-password --gecos '' bup
84     chown -R bup:bup .
85     printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config check" \
86       "$(pwd)" | su -l bup
87
88 task:
89   name: freebsd (py3 check)
90   freebsd_instance:
91     image: freebsd-12-2-release-amd64
92     cpu: 4
93     memory: 4
94   script: |
95     set -xe
96     dev/prep-for-freebsd-build python3
97     dev/system-info
98     BUP_PYTHON_CONFIG=python3.8-config make -j6 check
99
100 task:
101   name: macos (py3 check)
102   osx_instance:
103     image: catalina-base
104   script: |
105     set -xe
106     dev/prep-for-macos-build python3
107     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
108     dev/system-info
109     make -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check