From 439f14aa402982a08c8f3301d31e20ab35469dbd Mon Sep 17 00:00:00 2001 From: Nikhil Narayana Date: Tue, 6 Feb 2024 21:16:19 -0800 Subject: [PATCH] build(macOS): don't use cmake's signing on CI --- build-mac.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build-mac.sh b/build-mac.sh index 1f6f4091c5..0856393caa 100644 --- a/build-mac.sh +++ b/build-mac.sh @@ -8,13 +8,18 @@ export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib:/usr/lib/ # Build type if [ "$1" == "playback" ] - then +then echo "Using Playback build config" else echo "Using Netplay build config" CMAKE_FLAGS+=" -DSLIPPI_PLAYBACK=false" fi +if [ "$CI" == "true" ] +then + CMAKE_FLAGS+=" -DMACOS_CODE_SIGNING=OFF" +fi + # Move into the build directory, run CMake, and compile the project mkdir -p build pushd build