mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-28 00:18:14 +00:00
24 lines
376 B
Bash
24 lines
376 B
Bash
# install dependencies for C++ analysis
|
|
set -e
|
|
|
|
# install dependencies
|
|
brew install \
|
|
boost \
|
|
cmake \
|
|
miniupnpc \
|
|
node \
|
|
opus \
|
|
pkg-config
|
|
|
|
# build
|
|
mkdir -p build
|
|
cd build || exit 1
|
|
cmake \
|
|
-DBOOST_USE_STATIC=OFF \
|
|
-DBUILD_DOCS=OFF \
|
|
-G "Unix Makefiles" ..
|
|
make -j"$(sysctl -n hw.logicalcpu)"
|
|
|
|
# skip autobuild
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|