Commit 06c6f9a971be5239ebfbac6aaa757a86085c1598
1 parent
d14765f1
Enable verbose build for CI
That way we can always ensure that the right compiler flags are being used if there is an issue.
Showing
7 changed files
with
7 additions
and
7 deletions
build-scripts/build-doc
| ... | ... | @@ -8,7 +8,7 @@ sudo apt-get -y install \ |
| 8 | 8 | python3-pip texlive-latex-extra latexmk |
| 9 | 9 | pip3 install sphinx sphinx_rtd_theme |
| 10 | 10 | cmake -S . -B build -DBUILD_DOC=1 |
| 11 | -cmake --build build --target doc_dist | |
| 11 | +cmake --build build --verbose --target doc_dist | |
| 12 | 12 | zip -r doc.zip build/manual/doc-dist |
| 13 | 13 | version=$(grep -E '^release' manual/conf.py | cut -d"'" -f 2) |
| 14 | 14 | mv build/manual/doc-dist qpdf-${version}-doc | ... | ... |
build-scripts/build-linux
| ... | ... | @@ -6,7 +6,7 @@ sudo apt-get -y install \ |
| 6 | 6 | libssl-dev libtiff-tools ghostscript |
| 7 | 7 | cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 8 | 8 | -DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 |
| 9 | -cmake --build build -j$(nproc) -- -k | |
| 9 | +cmake --build build --verbose -j$(nproc) -- -k | |
| 10 | 10 | cd build |
| 11 | 11 | # Make sure char is signed by default -- see also test-unsigned-char |
| 12 | 12 | ./qpdf/test_char_sign | grep 'char is signed' | ... | ... |
build-scripts/build-linux32
| ... | ... | @@ -10,5 +10,5 @@ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \ |
| 10 | 10 | cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release \ |
| 11 | 11 | -DUSE_IMPLICIT_CRYPTO=0 -DBUILD_STATIC_LIBS=0 \ |
| 12 | 12 | -DREQUIRE_CRYPTO_NATIVE=1 |
| 13 | -cmake --build build -j$(nproc) -- -k | |
| 13 | +cmake --build build --verbose -j$(nproc) -- -k | |
| 14 | 14 | (cd build; ctest --verbose) | ... | ... |
build-scripts/build-mac
build-scripts/build-windows
| ... | ... | @@ -32,7 +32,7 @@ unzip qpdf-external-libs-bin.zip |
| 32 | 32 | |
| 33 | 33 | cd build |
| 34 | 34 | ../cmake-win $tool ci |
| 35 | -cmake --build . -j$(nproc) "${cmake_xargs[@]}" | |
| 35 | +cmake --build . --verbose -j$(nproc) "${cmake_xargs[@]}" | |
| 36 | 36 | ctest --verbose "${ctest_xargs[@]}" |
| 37 | 37 | cpack -G NSIS -C $config |
| 38 | 38 | cpack -G ZIP -C $config | ... | ... |
build-scripts/test-sanitizers
| ... | ... | @@ -12,7 +12,7 @@ env CFLAGS="-fsanitize=address -fsanitize=undefined" \ |
| 12 | 12 | -DCI_MODE=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Debug \ |
| 13 | 13 | -DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 \ |
| 14 | 14 | -DENABLE_QTC=1 |
| 15 | -cmake --build build -j$(nproc) -- -k | |
| 15 | +cmake --build build --verbose -j$(nproc) -- -k | |
| 16 | 16 | cd build |
| 17 | 17 | # libtests automatically runs with all crypto providers. |
| 18 | 18 | ctest --verbose | ... | ... |
build-scripts/test-unsigned-char
| ... | ... | @@ -13,7 +13,7 @@ env CFLAGS="-funsigned-char" \ |
| 13 | 13 | -DCI_MODE=1 -DBUILD_STATIC_LIBS=0 -DCMAKE_BUILD_TYPE=Release \ |
| 14 | 14 | -DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 \ |
| 15 | 15 | -DENABLE_QTC=1 |
| 16 | -cmake --build build -j$(nproc) -- -k | |
| 16 | +cmake --build build --verbose -j$(nproc) -- -k | |
| 17 | 17 | cd build |
| 18 | 18 | # Make sure char is unsigned by default. ./build-linux verifies that |
| 19 | 19 | # that build has char signed by default. That way we can be sure we | ... | ... |