]> arthur.barton.de Git - bup.git/blob - .cirrus.yml
README: reflect report that WSL works fine
[bup.git] / .cirrus.yml
1
2 task:
3   name: debian (py2)
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     eatmydata make -j6 PYTHON=python2 check
13
14 task:
15   name: debian (long py2)
16   container:
17     image: debian:buster
18     cpu: 4
19     memory: 2
20   script: |
21     set -xe
22     dev/prep-for-debianish-build python2
23     dev/system-info
24     adduser --disabled-password --gecos '' bup
25     chown -R bup:bup .
26     su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python2 long-check"
27
28 task:
29   name: debian (root py2)
30   container:
31     image: debian:buster
32     cpu: 4
33     memory: 2
34   script: |
35     set -xe
36     dev/prep-for-debianish-build python2
37     dev/system-info
38     adduser --disabled-password --gecos '' bup
39     chown -R bup:bup .
40     su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python2 check"
41
42 task:
43   name: debian (py3)
44   container:
45     image: debian:buster
46     cpu: 4
47     memory: 2
48   script: |
49     set -xe
50     dev/prep-for-debianish-build python3
51     dev/system-info
52     eatmydata make -j6 PYTHON=python3 check
53
54 task:
55   name: debian (long py3)
56   container:
57     image: debian:buster
58     cpu: 4
59     memory: 2
60   script: |
61     set -xe
62     dev/prep-for-debianish-build python3
63     dev/system-info
64     adduser --disabled-password --gecos '' bup
65     chown -R bup:bup .
66     su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python3 long-check"
67
68 task:
69   name: debian (root py3)
70   container:
71     image: debian:buster
72     cpu: 4
73     memory: 2
74   script: |
75     set -xe
76     dev/prep-for-debianish-build python3
77     dev/system-info
78     adduser --disabled-password --gecos '' bup
79     chown -R bup:bup .
80     su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python3 check"
81
82 task:
83   name: freebsd (py2)
84   freebsd_instance:
85     image: freebsd-12-1-release-amd64
86     cpu: 4
87     memory: 4
88   script: |
89     set -xe
90     dev/prep-for-freebsd-build python2
91     dev/system-info
92     gmake -j6 PYTHON=python2 check
93     # It looks like su might not work here...
94     #pw useradd -n bup -s /bin/sh -m -w no
95     #chown -R bup .
96     #su -l bup -c "gmake -j3 -C '$PWD' check"
97
98 task:
99   name: freebsd (py3)
100   freebsd_instance:
101     image: freebsd-12-1-release-amd64
102     cpu: 4
103     memory: 4
104   script: |
105     set -xe
106     dev/prep-for-freebsd-build python3
107     dev/system-info
108     gmake -j6 PYTHON=python3.7 check
109
110 task:
111   name: macos (py2)
112   allow_failures: true
113   osx_instance:
114     image: catalina-base
115   script: |
116     set -xe
117     dev/prep-for-macos-build python2
118     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
119     dev/system-info
120     make -j4 PYTHON=python2 check
121
122 task:
123   name: macos (py3)
124   osx_instance:
125     image: catalina-base
126   script: |
127     set -xe
128     dev/prep-for-macos-build python3
129     export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig
130     export PYTHON=python3
131     dev/system-info
132     make -j4 PYTHON=python3 check