Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Fix CodeQL language def (c-cpp)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas K Lengyel authored and tklengyel committed Jan 17, 2024
1 parent e9d2a2e commit 8b59a28
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
permissions:
security-events: write
contents: read
actions: read
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -105,6 +106,12 @@ jobs:
git submodule update --init libxdc
tar czvf libxdc.tar.gz libxdc
- name: Initialize CodeQL
if: ${{ matrix.os }} == 'ubuntu-latest'
uses: github/codeql-action/init@v3
with:
languages: 'c-cpp'

- name: Compile kfx
run: |
export INSTALLDIR="$PWD/install"
Expand All @@ -117,6 +124,12 @@ jobs:
make -j2
make install
- name: Perform CodeQL Analysis
if: ${{ matrix.os }} == 'ubuntu-latest'
uses: github/codeql-action/analyze@v3
with:
category: "/language:c-cpp"

- name: Scan build
run: |
export INSTALLDIR="$PWD/install"
Expand Down Expand Up @@ -189,9 +202,3 @@ jobs:
path: |
kfx.*.tar.gz
source.*.tar.gz
- name: Perform CodeQL Analysis
if: ${{ matrix.os }} == 'ubuntu-latest'
uses: github/codeql-action/analyze@v3
with:
category: "/language:c"

0 comments on commit 8b59a28

Please sign in to comment.