build(macOS): don't use cmake's signing on CI

This commit is contained in:
Nikhil Narayana 2024-02-06 21:16:19 -08:00
commit 439f14aa40
No known key found for this signature in database
GPG key ID: 2D6E647B8732451F

View file

@ -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