-
-
Notifications
You must be signed in to change notification settings - Fork 26
48 lines (44 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: ci
on: [push, pull_request]
jobs:
opam:
strategy:
matrix:
os:
- ubuntu-latest
ocaml:
- 4.13.1
- 4.03.0
include:
- os: macos-latest
ocaml: 4.13.1
- os: windows-latest
ocaml: 4.13.1
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml }}
- run: opam depext -y conf-pkg-config
- run: opam install -y --deps-only .
- run: opam exec -- dune build -p luv
esy:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: npm install esy
- run: npx esy install
- run: npx esy build