]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Cirrus CI: add Fedora 29 container test
authorMartin Matuska <martin@matuska.org>
Sun, 20 Jan 2019 23:12:28 +0000 (00:12 +0100)
committerMartin Matuska <martin@matuska.org>
Tue, 22 Jan 2019 23:08:23 +0000 (00:08 +0100)
.cirrus.yml
build/ci/cirrus_ci.sh

index 15c3cba92efe3c981cf8b4ed6ff5d0a77e7a9bfe..ea804e7914687c14adbb8a263a7876538b99901d 100644 (file)
@@ -4,6 +4,8 @@ env:
 
 task:
   matrix:
+    container:
+      image: fedora:29
     freebsd_instance:
       image: freebsd-12-0-release-amd64
     freebsd_instance:
index ae8a1a716044262469756cb735a9c8758cac435e..cb7d42c5b82f11e7e101289d3b9f65203d05436f 100755 (executable)
@@ -19,10 +19,16 @@ then
                set -x -e
                brew update
                brew install autoconf automake libtool pkg-config cmake xz lz4 zstd
-       elif [ "$UNAME" = "Linux" -a -f /etc/debian_version ]
+       elif [ "$UNAME" = "Linux" ]
        then
-               apt-get -y update
-               apt-get -y install build-essential automake libtool bison sharutils pkgconf libacl1-dev libbz2-dev libzip-dev zlib1g-dev liblzma-dev liblz4-dev libzstd-dev lrzip cmake
+               if [ -f "/etc/debian_version" ]
+               then
+                       apt-get -y update
+                       apt-get -y install build-essential locales automake libtool bison sharutils pkgconf libacl1-dev libbz2-dev libzip-dev zlib1g-dev liblzma-dev liblz4-dev libzstd-dev libssl-dev lrzip cmake
+               elif [ -f "/etc/fedora-release" ]
+               then
+                       dnf -y install make cmake gcc gcc-c++ kernel-devel automake libtool bison sharutils pkgconf libacl-devel librichacl-devel bzip2-devel libzip-devel zlib-devel xz-devel lz4-devel libzstd-devel openssl-devel
+               fi
        fi
 elif [ "$1" = "test" ]
 then
@@ -31,7 +37,7 @@ then
                set -e
                echo "Additional NFSv4 ACL tests"
                CURDIR=`pwd`
-               BUILDDIR="${CURDIR}/build_ci/autotools"
+               BUILDDIR="${CURDIR}/build_ci/${BUILD_SYSTEM}"
                cd "${BUILDDIR}"
                TMPDIR=/tmp_acl_nfsv4 ./libarchive_test -r "${CURDIR}/libarchive/test" -v test_acl_platform_nfs4
        fi