2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-13 16:26:28 +00:00
qpdf/azure-pipelines/build-linux

20 lines
641 B
Plaintext
Raw Normal View History

#!/bin/bash
set -ex
sudo apt-get update
sudo apt-get -y install \
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
./configure --enable-werror --enable-doc-maintenance \
--enable-crypto-native --enable-crypto-gnutls \
--enable-show-failed-test-output
2018-12-21 22:25:23 +00:00
make -j$(nproc) -k
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
make distfiles.zip
2018-10-13 15:59:05 +00:00
./make_dist --ci --no-tests
mkdir distribution
cp /tmp/qpdf*-ci.tar.gz distribution
sha256sum distribution/*