File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
matrix :
10
10
os :
11
- - ubuntu-latest
12
- - macos-latest
11
+ - ubuntu-20.04
12
+ - macos-11
13
13
ocaml-compiler :
14
14
- 4.11.x
15
15
- 4.08.x
16
16
17
17
runs-on : ${{ matrix.os }}
18
- continue-on-error : ${{ matrix.os == 'macos-latest '}}
18
+ continue-on-error : ${{ matrix.os == 'macos-11 '}}
19
19
20
20
env :
21
21
TMPDIR : /tmp
32
32
uses : ocaml/setup-ocaml@v2
33
33
with :
34
34
ocaml-compiler : ${{ matrix.ocaml-compiler }}
35
- dune-cache : ${{ matrix.os != 'macos-latest ' }}
35
+ dune-cache : ${{ matrix.os != 'macos-11 ' }}
36
36
37
37
- name : Add the testing Repository
38
38
run : opam repo add bap git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
41
41
run : opam pin add bap . --no-action
42
42
43
43
- name : Configure Homebrew LLVM
44
- if : matrix.os == 'macos-latest '
44
+ if : matrix.os == 'macos-11 '
45
45
run : |
46
46
rm -rf /usr/local/bin/2to3
47
47
rm -f $(opam var lib)/ocaml/version
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ let input file parse root =
110
110
let path = root.path / file in
111
111
if Sys. file_exists path
112
112
then parse (In_channel. read_all path)
113
- else Error (Missing_entry file )
113
+ else Error (Missing_entry path )
114
114
115
115
let parse_recipe str =
116
116
match Parsexp.Many. parse_string str with
@@ -195,8 +195,12 @@ let read t = match target_format t with
195
195
let path = mkdtemp ~prefix: " recipe-" ~suffix: " .unzipped" () in
196
196
unzip t path;
197
197
{path; temp= true ; main= " recipe.scm" }
198
- | Raw -> {path= Filename. dirname t; temp= false ; main= t}
199
198
| Dir -> {path= t; temp= false ; main= " recipe.scm" }
199
+ | Raw -> {
200
+ path= Filename. dirname t;
201
+ temp= false ;
202
+ main= Filename. basename t
203
+ }
200
204
201
205
let check_vars env spec loads =
202
206
let specs = spec :: List. map loads ~f: (fun s -> s.spec) in
Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ depexts: [
305
305
"libgmp-dev"
306
306
"libzip-dev"
307
307
"libcurl4-gnutls-dev"
308
- "llvm-9-dev"
309
308
"time"
310
309
"clang"
311
310
"m4"
You can’t perform that action at this time.
0 commit comments