From dedb1dfc37589d798a0cc53c89518445785251e4 Mon Sep 17 00:00:00 2001 From: Valentin Obst Date: Thu, 24 Oct 2024 17:39:12 +0200 Subject: [PATCH] sq test: fix acceptance tests --- .github/workflows/acceptance-tests.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 1fdb0f19..fd6d6283 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -10,8 +10,6 @@ on: env: CARGO_TERM_COLOR: always - GHIDRA_RELEASE_TAG: Ghidra_11.2_build - GHIDRA_VERSION: ghidra_11.2_PUBLIC_20240926 jobs: @@ -20,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Build the cwe_checker docker image + run: docker build -t cwe_checker . - name: Build and run docker image for cross compiling run: | pushd test/artificial_samples @@ -28,24 +28,11 @@ jobs: popd pushd test/lkm_samples ./build.sh - - uses: actions/setup-java@v1 - with: - java-version: "21.0.x" - java-package: jdk - architecture: x64 - - name: Install Ghidra - run: | - wget https://github.com/NationalSecurityAgency/ghidra/releases/download/${GHIDRA_RELEASE_TAG}/${GHIDRA_VERSION}.zip - unzip -d ghidra ${GHIDRA_VERSION}.zip - mv ghidra/ghidra_* /opt/ghidra - rm ${GHIDRA_VERSION}.zip - uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: 1.82.0 override: true - - name: Install cwe_checker - run: make all GHIDRA_PATH=/opt/ghidra - uses: actions-rs/cargo@v1 with: command: test