X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=blobdiff_plain;f=.cirrus.yml;h=58eab23afca75494d2eba913602ed56af6b0543a;hp=d2b4043735b1144db45cc5902de4285974c66d72;hb=bf478211a7b79eb5165f62792f1d739492b9311a;hpb=427ce5cf7d7e7e73cf1aedbebdba6a798506ecb0 diff --git a/.cirrus.yml b/.cirrus.yml index d2b4043..58eab23 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,6 +8,33 @@ task: script: | set -xe dev/prep-for-debianish-build + dev/system-info + adduser --disabled-password --gecos '' bup + chown -R bup:bup . + su -l bup -c "eatmydata make -j3 -C '$(pwd)' check" + +task: + name: debian (root) + container: + image: debian:buster + cpu: 2 + memory: 8 + script: | + set -xe + dev/prep-for-debianish-build + dev/system-info + eatmydata make -j3 check + +task: + name: debian (xattr) + container: + image: debian:buster + cpu: 2 + memory: 8 + script: | + set -xe + dev/prep-for-debianish-build python2 xattr + dev/system-info adduser --disabled-password --gecos '' bup chown -R bup:bup . su -l bup -c "eatmydata make -j3 -C '$(pwd)' check" @@ -21,6 +48,7 @@ task: script: | set -xe dev/prep-for-freebsd-build + dev/system-info gmake -j3 check # It looks like su might not work here... #pw useradd -n bup -s /bin/sh -m -w no @@ -34,4 +62,21 @@ task: script: | set -xe dev/prep-for-macos-build + dev/system-info make -j3 check + +task: + name: debian (python 3 - under construction) + container: + image: debian:buster + cpu: 2 + memory: 8 + script: | + set -xe + dev/prep-for-debianish-build python3 + dev/system-info + adduser --disabled-password --gecos '' bup + chown -R bup:bup . + testcmd='BUP_ALLOW_UNEXPECTED_PYTHON_VERSION=true PYTHON=python3' + testcmd="$testcmd eatmydata make -j3 -C '$(pwd)' check" + su -l bup -c "$testcmd"