mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
a372a988fd
Also remove linearization from qpdf-manual.pdf. It's a small file, and removing the dependency on the qpdf executable significantly shortens build times.
21 lines
738 B
Bash
Executable File
21 lines
738 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
sudo apt-get update
|
|
sudo apt-get -y install \
|
|
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
|
|
libssl-dev python3-pip texlive-latex-extra latexmk \
|
|
inkscape imagemagick libtiff-tools ghostscript
|
|
pip3 install sphinx
|
|
./configure --enable-werror --enable-doc-maintenance \
|
|
--enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
|
|
--enable-show-failed-test-output --enable-test-compare-images
|
|
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_dist --ci --no-tests
|
|
mkdir distribution
|
|
cp /tmp/qpdf*-ci.tar.gz distribution
|
|
sha256sum distribution/*
|