build+ci: support macOS on arm64
Refs: #5135
Change-Id: Ifac57bf18dea805dc9eab06039806858bb3b6f20
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index a4e6cd5..f703092 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -10,6 +10,9 @@
if [[ $JOB_NAME == *"code-coverage" ]]; then
COVERAGE="--with-coverage"
fi
+if has macos-12 $NODE_LABELS; then
+ KEYCHAIN="--without-osx-keychain"
+fi
if [[ -n $DISABLE_PCH ]]; then
PCH="--without-pch"
fi
@@ -31,7 +34,7 @@
fi
# Build shared library in debug mode with tests and examples
-./waf --color=yes configure --disable-static --enable-shared --debug --with-tests --with-examples $ASAN $COVERAGE $PCH
+./waf --color=yes configure --disable-static --enable-shared --debug --with-tests --with-examples $ASAN $COVERAGE $KEYCHAIN $PCH
./waf --color=yes build -j$WAF_JOBS
# (tests will be run against the debug version)