From 57880e812ea47bb088b9f60cd0f5aaff40a95a64 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sun, 16 Feb 2025 22:15:31 +0100 Subject: ci-build test: Add a 32-bit compilation test That was missing so far. Signed-off-by: Bernd Schubert --- test/ci-build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test') diff --git a/test/ci-build.sh b/test/ci-build.sh index 4f7da4c..3f0ff85 100755 --- a/test/ci-build.sh +++ b/test/ci-build.sh @@ -118,6 +118,23 @@ sanitized_build() sudo rm -fr ${PREFIX_DIR} ) +# 32-bit sanitized build +export CC=clang +export CXX=clang++ +export CFLAGS="-m32" +export CXXFLAGS="-m32" +export LDFLAGS="-m32" +export PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig" +TEST_WITH_VALGRIND=false +sanitized_build +unset CFLAGS +unset CXXFLAGS +unset LDFLAGS +unset PKG_CONFIG_PATH +unset TEST_WITH_VALGRIND +unset CC +unset CXX + # Sanitized build export CC=clang export CXX=clang++ -- cgit v1.2.3