Skip to content

Commit 5ff468f

Browse files
committed
fixes nightly and weekly regression tests, updates OCaml versions
- checkouts in a separate folder to prevent overwritting the switch; - updates OCaml versions to the latest 4.x branch.
1 parent ab35511 commit 5ff468f

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ jobs:
4949
uses: actions/checkout@v4
5050
with:
5151
repository: BinaryAnalysisPlatform/bap
52+
path: bap
5253

5354
- name: Run Functional Tests
54-
run: opam exec -- make check
55+
run: opam exec -- make -C bap check
5556

5657
- uses: actions/upload-artifact@v4
5758
if: ${{ always() }}
@@ -65,16 +66,10 @@ jobs:
6566
name: bap-log-nightly-${{ matrix.os }}-${{ matrix.ocaml-compiler }}
6667
path: ~/.local/state/bap
6768

68-
- uses: actions/upload-artifact@v4
69-
if: ${{ always() }}
70-
with:
71-
name: unit-tests-log-nightly-${{ matrix.os }}-${{ matrix.ocaml-compiler }}
72-
path: _build/oUnit-*.log
73-
7469
- uses: actions/upload-artifact@v4
7570
if: ${{ always() }}
7671
with:
7772
name: fun-tests-log-nightly-${{ matrix.os }}-${{ matrix.ocaml-compiler }}
7873
path: |
79-
testsuite/*.log
80-
testsuite/logs
74+
bap/testsuite/*.log
75+
bap/testsuite/logs

.github/workflows/opam.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
ocaml-compiler:
11-
- 4.11.x
11+
- 4.14.x
1212
- 4.08.x
1313

1414
runs-on: ubuntu-20.04

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install OCaml
2222
uses: ocaml/setup-ocaml@v3
2323
with:
24-
ocaml-compiler: ocaml-variants.4.11.2+flambda
24+
ocaml-compiler: ocaml-variants.4.14.2+flambda
2525
dune-cache: true
2626

2727
- name: Install Ghidra

.github/workflows/weekly-regress.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
ocaml-compiler:
13-
- 4.11.x
13+
- 4.14.x
1414
- 4.08.x
1515

1616
runs-on: ubuntu-latest
@@ -43,13 +43,14 @@ jobs:
4343
uses: actions/checkout@v4
4444
with:
4545
repository: BinaryAnalysisPlatform/bap
46+
path: bap
4647
ref: v2.5.0
4748

4849
- name: Install Extra System Dependencies
4950
run: sudo apt-get install dejagnu --yes
5051

5152
- name: Run Functional Tests
52-
run: opam exec -- make check
53+
run: opam exec -- make -C bap check
5354

5455
- uses: actions/upload-artifact@v4
5556
if: ${{ always() }}
@@ -68,5 +69,5 @@ jobs:
6869
with:
6970
name: fun-tests-log-weekly-${{ matrix.ocaml-compiler }}
7071
path: |
71-
testsuite/*.log
72-
testsuite/logs
72+
bap/testsuite/*.log
73+
bap/testsuite/logs

0 commit comments

Comments
 (0)