Skip to content

Commit

Permalink
ci(fix): make it use ninja like our normal build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis authored Aug 10, 2023
1 parent f867551 commit c003100
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand All @@ -44,6 +44,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Install apt packages
run: sudo sed -i 's/azure\.//' /etc/apt/sources.list && sudo apt update && sudo apt install g++-12 ninja-build libsodium-dev libopus-dev zlib1g-dev rpm

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3
Expand All @@ -67,8 +70,8 @@ jobs:
run: |
mkdir build
cd build
cmake ..
make -j2
cmake -G Ninja -DDPP_NO_VCPKG=ON -DCMAKE_BUILD_TYPE=Debug ..
ninja
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3
Expand Down

0 comments on commit c003100

Please sign in to comment.