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

Commit e11248a

Browse files
committed
Format ci.yml
1 parent 364c239 commit e11248a

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 43 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,45 +15,45 @@ 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: Check format
48-
run: opam exec -- dune build @fmt
49-
50-
- name: Build executables
51-
run: opam exec -- dune build
52-
53-
- name: Run roundtrip tests
54-
if: runner.os != 'Windows'
55-
run: opam exec -- make roundtrip-test
56-
57-
- name: Run tests (Windows)
58-
if: runner.os == 'Windows'
59-
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: Check format
48+
run: opam exec -- dune build @fmt
49+
50+
- name: Build executables
51+
run: opam exec -- dune build
52+
53+
- name: Run roundtrip tests
54+
if: runner.os != 'Windows'
55+
run: opam exec -- make roundtrip-test
56+
57+
- name: Run tests (Windows)
58+
if: runner.os == 'Windows'
59+
run: opam exec -- make test

0 commit comments

Comments
 (0)