9
9
build :
10
10
strategy :
11
11
matrix :
12
- os :
13
- - ubuntu-latest
14
- - macos-latest
15
12
ocaml-version :
16
13
- 4.09.1
17
14
- 4.08.1
18
15
- 4.07.1
19
16
20
- runs-on : ${{ matrix.os }}
17
+ runs-on : ubuntu-latest
21
18
22
19
env :
23
20
OPAMJOBS : 2
24
21
OPAMRETRES : 8
25
22
26
23
steps :
24
+
27
25
- name : Use OCaml ${{ matrix.ocaml-version }}
28
26
uses : avsm/setup-ocaml@v1
29
27
with :
30
28
ocaml-version : ${{ matrix.ocaml-version }}
31
29
32
- - name : Configure Homebrew LLVM
33
- if : matrix.os == 'macos-latest'
34
- run : echo '::set-env name=LLVM_CONFIG::/usr/local/opt/llvm@9/bin/llvm-config'
35
-
36
30
- name : Install System Dependencies
37
31
run : opam depext -y bap
38
32
39
33
- name : Cleanup the Caches
40
- if : matrix.os == 'ubuntu-latest'
41
34
run : sudo apt clean --yes
42
35
43
36
- name : Build and Install BAP
@@ -48,37 +41,30 @@ jobs:
48
41
with :
49
42
submodules : true
50
43
repository : BinaryAnalysisPlatform/bap
44
+ ref : v2.1.0
51
45
52
46
- name : Install Extra System Dependencies
53
- run : |
54
- opam pin add bap . -n
55
- opam depext -u bap
47
+ run : sudo apt-get install dejagnu --yes
56
48
57
49
- name : Run Functional Tests
58
50
run : opam exec -- make check
59
51
60
52
- uses : actions/upload-artifact@v2
61
53
if : ${{ always() }}
62
54
with :
63
- name : opam-log-${{ matrix.os }}-${{ matrix. ocaml-version }}
55
+ name : opam-log-${{ matrix.ocaml-version }}
64
56
path : ~/.opam/log
65
57
66
58
- uses : actions/upload-artifact@v2
67
59
if : ${{ always() }}
68
60
with :
69
- name : bap-log-${{ matrix.os }}-${{ matrix. ocaml-version }}
61
+ name : bap-log-${{ matrix.ocaml-version }}
70
62
path : ~/.local/state/bap
71
63
72
64
- uses : actions/upload-artifact@v2
73
65
if : ${{ always() }}
74
66
with :
75
- name : unit-tests-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
76
- path : _build/oUnit-*.log
77
-
78
- - uses : actions/upload-artifact@v2
79
- if : ${{ always() }}
80
- with :
81
- name : fun-tests-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
67
+ name : fun-tests-log-${{ matrix.ocaml-version }}
82
68
path : |
83
69
testsuite/*.log
84
70
testsuite/logs
0 commit comments