aboutsummaryrefslogtreecommitdiffstats
path: root/test/ci-build.sh
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-02-16 22:15:31 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-17 20:27:35 +0100
commit7e02c20c650c378729ab4999933f556c4bfb25c6 (patch)
tree0049eb496d1751b46b3068fd1b1bf45783310c27 /test/ci-build.sh
parent55f696228e5728cd89008e0af1ca5178bd4b9fb6 (diff)
downloadlibfuse-7e02c20c650c378729ab4999933f556c4bfb25c6.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/ci-build.sh')
-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++