Skip to content

Commit

Permalink
analyse plugin and loader with a single job
Browse files Browse the repository at this point in the history
  • Loading branch information
yeggor committed Dec 20, 2023
1 parent 703b350 commit 39b1ab8
Showing 1 changed file with 3 additions and 43 deletions.
46 changes: 3 additions & 43 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "CodeQL"
on:
push:
branches: [ master, dev ]
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]

jobs:
analyze-efiXplorer:
analyze-everything:
name: Analyze efiXplorer
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -37,51 +37,11 @@ jobs:
cd ..
curl -J -L "$IDA_SDK" -o idasdk83.zip
unzip -P $PASSWORD idasdk83.zip
cd efiXplorer/efiXplorer
cd efiXplorer
mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk83" -DHexRaysSdk_ROOT_DIR="../../hexrays_sdk"
cmake --build . --config Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

analyze-efiXloader:
name: Analyze efiXloader
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
env:
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }}
PASSWORD: ${{ secrets.ZIP_PASSWORD }}
run: |
git submodule update --init --recursive
cd ..
curl -J -L "$IDA_SDK" -o idasdk83.zip
unzip -P $PASSWORD idasdk83.zip
cd efiXplorer/efiXloader
mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk83"
cmake --build . --config Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 39b1ab8

Please sign in to comment.