diff --git a/build-scripts/build-doc b/build-scripts/build-doc index 3f747601..e6c72757 100755 --- a/build-scripts/build-doc +++ b/build-scripts/build-doc @@ -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 diff --git a/build-scripts/build-linux b/build-scripts/build-linux index ced4bbc8..3c0de7f0 100755 --- a/build-scripts/build-linux +++ b/build-scripts/build-linux @@ -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' diff --git a/build-scripts/build-linux32 b/build-scripts/build-linux32 index 1416d9ae..0e8dd6d8 100755 --- a/build-scripts/build-linux32 +++ b/build-scripts/build-linux32 @@ -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) diff --git a/build-scripts/build-mac b/build-scripts/build-mac index eab7703c..094de58f 100755 --- a/build-scripts/build-mac +++ b/build-scripts/build-mac @@ -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) diff --git a/build-scripts/build-windows b/build-scripts/build-windows index 76f88f3b..7d0f248d 100755 --- a/build-scripts/build-windows +++ b/build-scripts/build-windows @@ -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 diff --git a/build-scripts/test-sanitizers b/build-scripts/test-sanitizers index 75ac8af0..7c2be35b 100755 --- a/build-scripts/test-sanitizers +++ b/build-scripts/test-sanitizers @@ -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 diff --git a/build-scripts/test-unsigned-char b/build-scripts/test-unsigned-char index 1f4c68d8..11ede4ee 100755 --- a/build-scripts/test-unsigned-char +++ b/build-scripts/test-unsigned-char @@ -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