Skip to content

Commit

Permalink
Install CMake, check LD_PRELOAD
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Apr 24, 2024
1 parent 6db0e84 commit 143e169
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check LD_PRELOAD file existence
run: |
if [ ! -f "/__t/CodeQL/2.17.0/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so" ]; then
echo "Error: LD_PRELOAD file not found"
exit 1
fi
- name: Install CMake
run: sudo apt-get install cmake # Adjust based on your package manager

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down

0 comments on commit 143e169

Please sign in to comment.