mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use ninja for building
This commit is contained in:
parent
3d91628da2
commit
55b6d27d36
6
.github/workflows/codeql-analysis.yaml
vendored
6
.github/workflows/codeql-analysis.yaml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
if: matrix.language == 'cpp'
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install pkg-config cmake libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libboost-dev libmariadbclient-dev libmysqlcppconn-dev libwebsockets-dev -y
|
||||
sudo apt-get install pkg-config cmake ninja-build libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libboost-dev libmariadbclient-dev libmysqlcppconn-dev libwebsockets-dev -y
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
@ -55,8 +55,8 @@ jobs:
|
|||
run: |
|
||||
mkdir release
|
||||
cd release
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DANTIBOT=ON -DMYSQL=ON -DWEBSOCKETS=ON ..
|
||||
cmake --build . --config RelWithDebInfo --parallel --target everything
|
||||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DANTIBOT=ON -DMYSQL=ON -DWEBSOCKETS=ON ..
|
||||
cmake --build . --config RelWithDebInfo --target everything
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
|
Loading…
Reference in a new issue