2018-10-11 17:35:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y install \
|
2019-11-06 02:31:56 +00:00
|
|
|
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
|
2020-04-06 07:19:52 +00:00
|
|
|
libssl-dev docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
|
2018-10-11 17:35:07 +00:00
|
|
|
./configure --enable-werror --enable-doc-maintenance \
|
2020-04-06 07:19:52 +00:00
|
|
|
--enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
|
2018-10-11 17:35:07 +00:00
|
|
|
--enable-show-failed-test-output
|
2018-12-21 22:25:23 +00:00
|
|
|
make -j$(nproc) -k
|
2019-11-06 02:31:56 +00:00
|
|
|
for i in $(./qpdf/build/qpdf --show-crypto); do
|
|
|
|
echo "*** Running tests with crypto provider $i"
|
|
|
|
env QPDF_CRYPTO_PROVIDER=$i make -k check
|
|
|
|
done
|
2018-10-13 15:59:05 +00:00
|
|
|
./make_dist --ci --no-tests
|
|
|
|
mkdir distribution
|
|
|
|
cp /tmp/qpdf*-ci.tar.gz distribution
|
|
|
|
sha256sum distribution/*
|