Skip to content

Commit aa689f0

Browse files
committed
fixes nightly tests and ghidra caching
1 parent 9661d61 commit aa689f0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
OPAMRETRES: 8
2424

2525
steps:
26+
- name: Checkout the Tests
27+
uses: actions/checkout@v4
28+
with:
29+
repository: BinaryAnalysisPlatform/bap
30+
path: bap
31+
2632
- name: Install Extra System Dependencies
2733
run: |
2834
sudo apt-get update -y
@@ -36,8 +42,8 @@ jobs:
3642
key: ${{ runner.os }}-ghidra
3743

3844
- name: Build and Install Ghidra
39-
if: steps.cache-ghidras.outputs.cache-hit != 'true'
40-
run: sudo sh ./tools/install-ghidra.sh
45+
if: steps.cache-ghidra.outputs.cache-hit != 'true'
46+
run: sudo sh ./bap/tools/install-ghidra.sh
4147

4248
- name: Use OCaml ${{ matrix.ocaml-compiler }}
4349
uses: ocaml/setup-ocaml@v3
@@ -51,13 +57,7 @@ jobs:
5157
bap: git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
5258
5359
- name: Build and Install BAP
54-
run: opam install bap-extra bap-radare2
55-
56-
- name: Checkout the Tests
57-
uses: actions/checkout@v4
58-
with:
59-
repository: BinaryAnalysisPlatform/bap
60-
path: bap
60+
run: opam install bap.master bap-extra.master bap-radare2.master
6161

6262
- name: Run Functional Tests
6363
run: opam exec -- make -C bap check

0 commit comments

Comments
 (0)