From f08f24c22a4d9b1e5c65243f25b6a364fa6aa04c Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Wed, 22 Nov 2023 14:14:26 +0100 Subject: [PATCH] wip --- .github/workflows/codeql_checks.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql_checks.yml b/.github/workflows/codeql_checks.yml index 2494182..6fde0f0 100644 --- a/.github/workflows/codeql_checks.yml +++ b/.github/workflows/codeql_checks.yml @@ -18,23 +18,35 @@ 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 container: - image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest + image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest steps: - name: Clone uses: actions/checkout@v3 + - name: Install JRE + run: | + apk add openjdk17-jre-headless + - name: Initialize CodeQL + env: + CODEQL_JAVA_HOME: /usr/lib/jvm/java-17-openjdk 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 + # CodeQL will create the database during the compilation - name: Build run: |