Helpers: fix uv_utf16_to_wtf8 wrapper #295
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: | |
- 5.1.x | |
- 4.14.x | |
- 4.03.x | |
include: | |
- os: macos-latest | |
ocaml: 4.14.x | |
- os: windows-latest | |
ocaml: 4.14.x | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ocaml/setup-ocaml@v2 | |
if: runner.os != 'Windows' | |
with: | |
ocaml-compiler: ${{ matrix.ocaml }} | |
- uses: ocaml/setup-ocaml@v2 | |
if: runner.os == 'Windows' | |
with: | |
ocaml-compiler: ${{ matrix.ocaml }} | |
opam-repositories: | | |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset | |
default: https://github.com/ocaml/opam-repository.git | |
- 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@v4 | |
with: | |
submodules: recursive | |
- run: npm install esy | |
- run: npx esy install | |
- run: npx esy build |