Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit e4b2423

Browse files
committed
Format ci.yml
1 parent 2af5aa3 commit e4b2423

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
test:
@@ -15,42 +15,42 @@ jobs:
1515
ocaml_compiler: [4.14.0]
1616

1717
runs-on: ${{matrix.os}}
18-
18+
1919
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

Comments
 (0)