]> arthur.barton.de Git - bup.git/blobdiff - .cirrus.yml
cirrus: adjust test names (root vs non-root, etc.)
[bup.git] / .cirrus.yml
index bca0a3d09921558f0db5812613657726190b68fa..879c2bf737b2a8b02963f12851ffa8610330ddac 100644 (file)
 
 task:
-  name: debian
+  name: debian (py2 check 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 python2
+    dev/system-info
+    eatmydata make -j6 PYTHON=python2 check
+
+task:
+  name: debian (py2 long-check)
+  container:
+    image: debian:buster
+    cpu: 4
+    memory: 2
+  script: |
+    set -xe
+    dev/prep-for-debianish-build python2
+    dev/system-info
+    adduser --disabled-password --gecos '' bup
+    chown -R bup:bup .
+    su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python2 long-check"
+
+task:
+  name: debian (py2 check)
+  container:
+    image: debian:buster
+    cpu: 4
+    memory: 2
+  script: |
+    set -xe
+    dev/prep-for-debianish-build python2
+    dev/system-info
+    adduser --disabled-password --gecos '' bup
+    chown -R bup:bup .
+    su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python2 check"
+
+task:
+  name: debian (py3 check root)
+  container:
+    image: debian:buster
+    cpu: 4
+    memory: 2
+  script: |
+    set -xe
+    dev/prep-for-debianish-build python3
+    dev/system-info
+    eatmydata make -j6 PYTHON=python3 check
+
+task:
+  name: debian (py3 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 .
+    su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python3 long-check"
+
+task:
+  name: debian (py3 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"
+    su -l bup -c "eatmydata make -j6 -C '$(pwd)' PYTHON=python3 check"
 
 task:
-  name: freebsd
+  name: freebsd (py3 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
+    gmake -j6 PYTHON=python3.7 check
 
 task:
-  name: macos
+  name: macos (py3 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
+    export PYTHON=python3
+    dev/system-info
+    make -j4 PYTHON=python3 check