2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-22 22:58:33 +00:00
qpdf/build-scripts/build-linux

21 lines
662 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 \
libssl-dev libtiff-tools ghostscript
./configure --enable-werror \
--enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
2021-05-08 09:30:23 -04:00
--enable-show-failed-test-output --enable-test-compare-images
2018-12-21 17:25:23 -05: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
2021-12-13 07:43:26 -05:00
export TMPDIR=$PWD/dist-tmp
rm -rf $TMPDIR
./make_dist --ci
2018-10-13 11:59:05 -04:00
mkdir distribution
2021-12-13 07:43:26 -05:00
cp $TMPDIR/qpdf*-ci.tar.gz distribution
2018-10-13 11:59:05 -04:00
sha256sum distribution/*