Skip to content

Commit

Permalink
sq test: fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Obst committed Oct 24, 2024
1 parent 435cefd commit dedb1df
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dedb1df

Please sign in to comment.