2024-04-16 21:41:56 +00:00
|
|
|
# install dependencies for C++ analysis
|
2024-04-17 03:00:10 +00:00
|
|
|
set -e
|
2024-04-16 21:41:56 +00:00
|
|
|
|
|
|
|
# install dependencies
|
|
|
|
brew install \
|
|
|
|
boost \
|
|
|
|
cmake \
|
|
|
|
miniupnpc \
|
|
|
|
node \
|
|
|
|
opus \
|
|
|
|
pkg-config
|
|
|
|
|
|
|
|
# build
|
|
|
|
mkdir -p build
|
|
|
|
cd build || exit 1
|
2024-06-14 21:37:46 +00:00
|
|
|
cmake \
|
|
|
|
-DBOOST_USE_STATIC=OFF \
|
2024-06-24 16:12:31 +00:00
|
|
|
-DBUILD_DOCS=OFF \
|
2024-06-14 21:37:46 +00:00
|
|
|
-G "Unix Makefiles" ..
|
2024-04-17 03:00:10 +00:00
|
|
|
make -j"$(sysctl -n hw.logicalcpu)"
|
2024-04-16 21:41:56 +00:00
|
|
|
|
|
|
|
# skip autobuild
|
|
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|