mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +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:
parent
d14765f1c3
commit
06c6f9a971
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user