2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-11 07:30:57 +00:00

Enable verbose build for CI

That way we can always ensure that the right compiler flags are being
used if there is an issue.
This commit is contained in:
Jay Berkenbilt 2022-10-06 07:14:23 -04:00
parent d14765f1c3
commit 06c6f9a971
7 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ sudo apt-get -y install \
python3-pip texlive-latex-extra latexmk
pip3 install sphinx sphinx_rtd_theme
cmake -S . -B build -DBUILD_DOC=1
cmake --build build --target doc_dist
cmake --build build --verbose --target doc_dist
zip -r doc.zip build/manual/doc-dist
version=$(grep -E '^release' manual/conf.py | cut -d"'" -f 2)
mv build/manual/doc-dist qpdf-${version}-doc

View File

@ -6,7 +6,7 @@ sudo apt-get -y install \
libssl-dev libtiff-tools ghostscript
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1
cmake --build build -j$(nproc) -- -k
cmake --build build --verbose -j$(nproc) -- -k
cd build
# Make sure char is signed by default -- see also test-unsigned-char
./qpdf/test_char_sign | grep 'char is signed'

View File

@ -10,5 +10,5 @@ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release \
-DUSE_IMPLICIT_CRYPTO=0 -DBUILD_STATIC_LIBS=0 \
-DREQUIRE_CRYPTO_NATIVE=1
cmake --build build -j$(nproc) -- -k
cmake --build build --verbose -j$(nproc) -- -k
(cd build; ctest --verbose)

View File

@ -9,5 +9,5 @@ make -k
sudo make install
cd ..
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(sysctl -n hw.ncpu) -- -k
cmake --build build --verbose -j$(sysctl -n hw.ncpu) -- -k
(cd build; ctest --verbose)

View File

@ -32,7 +32,7 @@ unzip qpdf-external-libs-bin.zip
cd build
../cmake-win $tool ci
cmake --build . -j$(nproc) "${cmake_xargs[@]}"
cmake --build . --verbose -j$(nproc) "${cmake_xargs[@]}"
ctest --verbose "${ctest_xargs[@]}"
cpack -G NSIS -C $config
cpack -G ZIP -C $config

View File

@ -12,7 +12,7 @@ env CFLAGS="-fsanitize=address -fsanitize=undefined" \
-DCI_MODE=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Debug \
-DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 \
-DENABLE_QTC=1
cmake --build build -j$(nproc) -- -k
cmake --build build --verbose -j$(nproc) -- -k
cd build
# libtests automatically runs with all crypto providers.
ctest --verbose

View File

@ -13,7 +13,7 @@ env CFLAGS="-funsigned-char" \
-DCI_MODE=1 -DBUILD_STATIC_LIBS=0 -DCMAKE_BUILD_TYPE=Release \
-DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 \
-DENABLE_QTC=1
cmake --build build -j$(nproc) -- -k
cmake --build build --verbose -j$(nproc) -- -k
cd build
# Make sure char is unsigned by default. ./build-linux verifies that
# that build has char signed by default. That way we can be sure we