File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Builds, tests & co
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ permissions : read-all
8+
9+ jobs :
10+ build :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os :
15+ - ubuntu-latest
16+ - macos-latest
17+ - windows-latest
18+ ocaml-compiler :
19+ - ' 4.08'
20+ - ' 5'
21+
22+ runs-on : ${{ matrix.os }}
23+
24+ steps :
25+ - name : Checkout tree
26+ uses : actions/checkout@v4
27+
28+ - name : Set-up OCaml
29+ uses : ocaml/setup-ocaml@v3
30+ with :
31+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
32+
33+ - run : opam install . --deps-only --with-test
34+
35+ - run : opam exec -- dune build
36+
37+ - run : opam exec -- dune runtest
38+
39+ lint-doc :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Checkout tree
43+ uses : actions/checkout@v4
44+ - name : Set-up OCaml
45+ uses : ocaml/setup-ocaml@v3
46+ with :
47+ ocaml-compiler : ' 5'
48+ - uses : ocaml/setup-ocaml/lint-doc@v3
49+
50+ lint-opam :
51+ runs-on : ubuntu-latest
52+ steps :
53+ - name : Checkout tree
54+ uses : actions/checkout@v4
55+ - name : Set-up OCaml
56+ uses : ocaml/setup-ocaml@v3
57+ with :
58+ ocaml-compiler : ' 5'
59+ - uses : ocaml/setup-ocaml/lint-opam@v3
You can’t perform that action at this time.
0 commit comments