2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [master]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [master]
8
8
9
9
jobs :
10
10
test :
@@ -15,42 +15,42 @@ jobs:
15
15
ocaml_compiler : [4.14.0]
16
16
17
17
runs-on : ${{matrix.os}}
18
-
18
+
19
19
steps :
20
- - name : " Windows: Set git to use LF"
21
- if : runner.os == 'Windows'
22
- run : |
23
- git config --global core.autocrlf false
24
- git config --global core.eol lf
25
-
26
- - uses : actions/checkout@v3
27
-
28
- - name : Use OCaml ${{matrix.ocaml_compiler}}
29
- if : runner.name != 'macos-arm'
30
- uses : ocaml/setup-ocaml@v2
31
- with :
32
- ocaml-compiler : ${{matrix.ocaml_compiler}}
33
- opam-pin : false
34
- opam-depext : false
35
-
36
- - name : Use OCaml ${{matrix.ocaml_compiler}}
37
- if : runner.name == 'macos-arm'
38
- uses : AbstractMachinesLab/setup-ocaml@arm-support
39
- with :
40
- ocaml-compiler : ${{matrix.ocaml_compiler}}
41
- opam-pin : false
42
- opam-depext : false
43
-
44
- - name : Install dependencies
45
- run : opam install . --deps-only
46
-
47
- - name : Build executables
48
- run : opam exec -- dune build
49
-
50
- - name : Run roundtrip tests
51
- if : runner.os != 'Windows'
52
- run : opam exec -- make roundtrip-test
53
-
54
- - name : Run tests (Windows)
55
- if : runner.os == 'Windows'
56
- run : opam exec -- make test
20
+ - name : " Windows: Set git to use LF"
21
+ if : runner.os == 'Windows'
22
+ run : |
23
+ git config --global core.autocrlf false
24
+ git config --global core.eol lf
25
+
26
+ - uses : actions/checkout@v3
27
+
28
+ - name : Use OCaml ${{matrix.ocaml_compiler}}
29
+ if : runner.name != 'macos-arm'
30
+ uses : ocaml/setup-ocaml@v2
31
+ with :
32
+ ocaml-compiler : ${{matrix.ocaml_compiler}}
33
+ opam-pin : false
34
+ opam-depext : false
35
+
36
+ - name : Use OCaml ${{matrix.ocaml_compiler}}
37
+ if : runner.name == 'macos-arm'
38
+ uses : AbstractMachinesLab/setup-ocaml@arm-support
39
+ with :
40
+ ocaml-compiler : ${{matrix.ocaml_compiler}}
41
+ opam-pin : false
42
+ opam-depext : false
43
+
44
+ - name : Install dependencies
45
+ run : opam install . --deps-only
46
+
47
+ - name : Build executables
48
+ run : opam exec -- dune build
49
+
50
+ - name : Run roundtrip tests
51
+ if : runner.os != 'Windows'
52
+ run : opam exec -- make roundtrip-test
53
+
54
+ - name : Run tests (Windows)
55
+ if : runner.os == 'Windows'
56
+ run : opam exec -- make test
0 commit comments