aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-02-16 22:15:31 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-18 22:32:49 +0100
commit57880e812ea47bb088b9f60cd0f5aaff40a95a64 (patch)
tree1240221711a054bd663ff206efea48087afaf844 /test
parent65ce923a6440b2ea37e234a20e8f7d69388bcbd2 (diff)
downloadlibfuse-57880e812ea47bb088b9f60cd0f5aaff40a95a64.tar.gz
ci-build test: Add a 32-bit compilation test
That was missing so far. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/ci-build.sh17
1 files changed, 17 insertions, 0 deletions
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++