2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/azure-pipelines/test-sanitizers
2019-06-15 17:24:24 -04:00

13 lines
403 B
Bash
Executable File

#!/bin/bash
set -e
sudo apt-get update
sudo apt-get -y install \
autoconf build-essential zlib1g-dev libjpeg-dev
./configure \
CFLAGS="-fsanitize=address -fsanitize=undefined -g" \
CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \
LDFLAGS="-fsanitize=address -fsanitize=undefined" \
--enable-werror --disable-shared --enable-show-failed-test-output
make -j$(nproc) -k
make -k check