From 55b6d27d362fddce900911b65b5f66ac7dfdaa62 Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Mon, 16 Aug 2021 11:17:08 +0200 Subject: [PATCH] Use ninja for building --- .github/workflows/codeql-analysis.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index b2e54a504..868d41696 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -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