aboutsummaryrefslogtreecommitdiffstats
path: root/build-scripts/build-linux
blob: 266b99209585a32cc70aae2e541f1cde1ce9639f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -ex
sudo apt-get update
sudo apt-get -y install \
   autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
   libssl-dev docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
./configure --enable-werror --enable-doc-maintenance \
    --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
    --enable-show-failed-test-output
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
./make_dist --ci --no-tests
mkdir distribution
cp /tmp/qpdf*-ci.tar.gz distribution
sha256sum distribution/*