-
Notifications
You must be signed in to change notification settings - Fork 274
71 lines (56 loc) · 1.66 KB
/
weekly-regress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# runs the latest release version
name: weekly-regression-tests
on:
schedule:
- cron: "0 0 * * SUN" # Every Sunday at 00:00 UTC */
jobs:
build:
strategy:
matrix:
ocaml-compiler:
- 4.11.x
- 4.08.x
runs-on: ubuntu-latest
env:
OPAMJOBS: 2
OPAMRETRES: 8
steps:
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
- name: Install System Dependencies
run: opam depext -y bap
- name: Install radare2 Dependencies
run: opam depext -u bap-radare2
- name: Cleanup the Caches
run: sudo apt clean --yes
- name: Build and Install BAP
run: opam install bap bap-radare2
- name: Checkout the Tests
uses: actions/checkout@v2
with:
repository: BinaryAnalysisPlatform/bap
ref: v2.5.0
- name: Install Extra System Dependencies
run: sudo apt-get install dejagnu --yes
- name: Run Functional Tests
run: opam exec -- make check
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: opam-log-${{ matrix.ocaml-compiler }}
path: ~/.opam/log
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: bap-log-${{ matrix.ocaml-compiler }}
path: ~/.local/state/bap
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: fun-tests-log-${{ matrix.ocaml-compiler }}
path: |
testsuite/*.log
testsuite/logs