Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
apaillier-ledger committed Nov 23, 2023
1 parent 8464a2c commit 3e2b821
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/codeql_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,55 @@ jobs:
name: Analyse
strategy:
matrix:
sdk: [ "$NANOS_SDK", "$NANOX_SDK", "$NANOSP_SDK" ]
sdk: [ "$NANOSP_SDK" ]
#'cpp' covers C and C++
language: [ 'cpp' ]
runs-on: ubuntu-latest
env:
CODEQL_JAVA_HOME: /usr/lib/jvm/java-17-openjdk
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest

steps:
- name: Clone
uses: actions/checkout@v3

- name: Install JRE
run: |
apk add openjdk17-jre-headless
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-and-quality

#- name: Install glibc compatibility layer
# run: |
# echo $LD_PRELOAD
# apk add gcompat
# env

- name: Get pre logs
uses: actions/upload-artifact@v3
with:
name: pre-logs
path: /__w/_temp/

# CodeQL will create the database during the compilation
- name: Build
run: |
make BOLOS_SDK=${{ matrix.sdk }}
#- name: git status
# run: |
# git status

- name: Get post logs
uses: actions/upload-artifact@v3
with:
name: post-logs
path: /__w/_temp/

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 3e2b821

Please sign in to comment.