btrfs-progs: ci: enable crypto backends on Tumbleweed image
Add the libaries and update script so additional configure parameters can be passed. Also enable backtrace and libudev so it's closer to the defaults. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
02d3723993
commit
d8b66fe2e2
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Usage: $0 [branch]
|
# Usage: $0 [branch] [configure options]
|
||||||
# Create source tarball from HEAD or given branch and build it in openSUSE Tumbleweed CI
|
# Create source tarball from HEAD or given branch and build it in openSUSE Tumbleweed CI
|
||||||
# environment
|
# environment. Configure options follow branch name that can be empty.
|
||||||
|
|
||||||
HERE=`pwd`
|
HERE=`pwd`
|
||||||
if [ -f "configure.ac" ]; then
|
if [ -f "configure.ac" ]; then
|
||||||
|
@ -16,6 +16,7 @@ fi
|
||||||
|
|
||||||
CIIMAGEDIR=ci/images/ci-openSUSE-tumbleweed-x86_64
|
CIIMAGEDIR=ci/images/ci-openSUSE-tumbleweed-x86_64
|
||||||
BRANCH=${1:-HEAD}
|
BRANCH=${1:-HEAD}
|
||||||
|
shift
|
||||||
HASH=$(git log -1 --format='%h %s' "$BRANCH")
|
HASH=$(git log -1 --format='%h %s' "$BRANCH")
|
||||||
|
|
||||||
echo "CI: Generate archive from $BRANCH ($HASH)"
|
echo "CI: Generate archive from $BRANCH ($HASH)"
|
||||||
|
@ -28,4 +29,4 @@ gzip --force --best devel.tar
|
||||||
cd "$CIIMAGEDIR"
|
cd "$CIIMAGEDIR"
|
||||||
cp "$SOURCEDIR/devel.tar.gz" .
|
cp "$SOURCEDIR/devel.tar.gz" .
|
||||||
./docker-build
|
./docker-build
|
||||||
./docker-run -- ./test-build devel --disable-documentation --disable-backtrace --disable-libudev
|
./docker-run -- ./test-build devel --disable-documentation "$@"
|
||||||
|
|
|
@ -27,6 +27,7 @@ RUN zypper install -y --no-recommends glibc-devel-static libblkid-devel-static \
|
||||||
libzstd-devel-static lzo-devel-static zlib-devel-static
|
libzstd-devel-static lzo-devel-static zlib-devel-static
|
||||||
|
|
||||||
RUN zypper install -y --no-recommends gcc13
|
RUN zypper install -y --no-recommends gcc13
|
||||||
|
RUN zypper install -y --no-recommends libgcrypt-devel libsodium-devel libkcapi-devel
|
||||||
|
|
||||||
COPY ./test-build .
|
COPY ./test-build .
|
||||||
COPY ./run-tests .
|
COPY ./run-tests .
|
||||||
|
|
Loading…
Reference in New Issue