Build: copy libuv headers out to help luv_unix #251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |