ci: update codeql to handle multiple OSes (#2425)
This commit is contained in:
parent
76d08eb883
commit
5db8af8a3f
4 changed files with 103 additions and 10 deletions
19
.codeql-prebuild-cpp-macOS.sh
Normal file
19
.codeql-prebuild-cpp-macOS.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# install dependencies for C++ analysis
|
||||
|
||||
# install dependencies
|
||||
brew install \
|
||||
boost \
|
||||
cmake \
|
||||
miniupnpc \
|
||||
node \
|
||||
opus \
|
||||
pkg-config
|
||||
|
||||
# build
|
||||
mkdir -p build
|
||||
cd build || exit 1
|
||||
cmake -G "Unix Makefiles" ..
|
||||
mingw32-make -j"$(sysctl -n hw.logicalcpu)"
|
||||
|
||||
# skip autobuild
|
||||
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|
||||
Loading…
Add table
Add a link
Reference in a new issue