X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=.cirrus.yml;h=c7bdd82db3653662e6e9e6ac52dbe6377a1f2c4d;hb=c8af075fbf5fe45ceaf411dc01f7016290e8d794;hp=bca0a3d09921558f0db5812613657726190b68fa;hpb=5650910803b9d342054e27da888f3343c1c56087;p=bup.git diff --git a/.cirrus.yml b/.cirrus.yml index bca0a3d..c7bdd82 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,37 +1,66 @@ task: - name: debian + name: debian check/lint root container: image: debian:buster - cpu: 2 - memory: 8 + cpu: 4 + memory: 2 script: | set -xe - dev/prep-for-debianish-build + dev/prep-for-debianish-build python3 + dev/system-info + BUP_PYTHON_CONFIG=python3-config ./configure --with-pylint=yes + make -j6 check + +task: + name: debian long-check + container: + image: debian:buster + cpu: 4 + memory: 2 + script: | + set -xe + dev/prep-for-debianish-build python3 + dev/system-info + adduser --disabled-password --gecos '' bup + chown -R bup:bup . + printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config long-check" \ + "$(pwd)" | su -l bup + +task: + name: debian check + container: + image: debian:buster + cpu: 4 + memory: 2 + script: | + set -xe + dev/prep-for-debianish-build python3 + dev/system-info adduser --disabled-password --gecos '' bup chown -R bup:bup . - su -l bup -c "eatmydata make -j3 -C '$(pwd)' check" + printf "make -j6 -C %q BUP_PYTHON_CONFIG=python3-config check" \ + "$(pwd)" | su -l bup task: - name: freebsd + name: freebsd check freebsd_instance: - image: freebsd-11-2-release-amd64 - cpu: 2 - memory: 8 + image: freebsd-12-2-release-amd64 + cpu: 4 + memory: 4 script: | set -xe - dev/prep-for-freebsd-build - gmake check - # It looks like su might not work here... - #pw useradd -n bup -s /bin/sh -m -w no - #chown -R bup . - #su -l bup -c "gmake -j3 -C '$PWD' check" + dev/prep-for-freebsd-build python3 + dev/system-info + BUP_PYTHON_CONFIG=python3.8-config make -j6 check task: - name: macos + name: macos check osx_instance: - image: mojave-xcode-10.2 + image: catalina-base script: | set -xe - dev/prep-for-macos-build - make -j2 check + dev/prep-for-macos-build python3 + export PKG_CONFIG_PATH=/usr/local/opt/readline/lib/pkgconfig + dev/system-info + make -j6 BUP_PYTHON_CONFIG=python3-config LDFLAGS=-L/usr/local/lib check