2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-17 01:55:09 +00:00
qpdf/build-scripts/build-mac
Jay Berkenbilt 06c6f9a971 Enable verbose build for CI
That way we can always ensure that the right compiler flags are being
used if there is an issue.
2022-10-06 07:14:23 -04:00

14 lines
308 B
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
unzip qpdf-external-libs-src.zip
tar xzf external-libs-src/jpegsrc*
cd jpeg-*
./configure
make -k
sudo make install
cd ..
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release
cmake --build build --verbose -j$(sysctl -n hw.ncpu) -- -k
(cd build; ctest --verbose)