mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Run all crypto providers in CI for Linux and sanitizer builds
This commit is contained in:
parent
1639d972ea
commit
70b8c41f46
@ -2,12 +2,16 @@
|
|||||||
set -ex
|
set -ex
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install \
|
sudo apt-get -y install \
|
||||||
autoconf build-essential zlib1g-dev libjpeg-dev \
|
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
|
||||||
docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
|
docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
|
||||||
./configure --enable-werror --enable-doc-maintenance \
|
./configure --enable-werror --enable-doc-maintenance \
|
||||||
|
--enable-crypto-native --enable-crypto-gnutls \
|
||||||
--enable-show-failed-test-output
|
--enable-show-failed-test-output
|
||||||
make -j$(nproc) -k
|
make -j$(nproc) -k
|
||||||
make -k check
|
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 distfiles.zip
|
||||||
./make_dist --ci --no-tests
|
./make_dist --ci --no-tests
|
||||||
mkdir distribution
|
mkdir distribution
|
||||||
|
@ -2,11 +2,15 @@
|
|||||||
set -e
|
set -e
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install \
|
sudo apt-get -y install \
|
||||||
autoconf build-essential zlib1g-dev libjpeg-dev
|
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev
|
||||||
./configure \
|
./configure \
|
||||||
CFLAGS="-fsanitize=address -fsanitize=undefined -g" \
|
CFLAGS="-fsanitize=address -fsanitize=undefined -g" \
|
||||||
CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \
|
CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \
|
||||||
LDFLAGS="-fsanitize=address -fsanitize=undefined" \
|
LDFLAGS="-fsanitize=address -fsanitize=undefined" \
|
||||||
|
--enable-crypto-native --enable-crypto-gnutls \
|
||||||
--enable-werror --disable-shared --enable-show-failed-test-output
|
--enable-werror --disable-shared --enable-show-failed-test-output
|
||||||
make -j$(nproc) -k
|
make -j$(nproc) -k
|
||||||
make -k check
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user