Skip to content

Commit

Permalink
CI: test shims against libuv 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Dec 20, 2023
1 parent 19795cc commit e9774cd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@ jobs:
- run: opam install -y --deps-only .
- run: opam exec -- dune build -p luv

shims:
strategy:
fail-fast: false
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ocaml/setup-ocaml@v4
with:
ocaml-compiler: 4.14.x
- run: opam install -y --deps-only .
- run: git clone https://github.com/libuv/libuv.git
working-directory: ..
- run: |
git checkout v1.3.0
./autogen.sh
sh configure
make
sh libtool --mode install cp libuv.la $(pwd)
working-directory: ../libuv
- run: opam exec -- dune build -p luv
env:
LUV_USE_SYSTEM_LIBUV=yes
C_INCLUDE_PATH=$(pwd)/../libuv/include
LIBRARY_PATH=$(pwd)/../libuv

# esy builds are broken due to an upstream bug that is not worth working
# around in luv, but should be fixed in esy:
#
Expand Down

0 comments on commit e9774cd

Please sign in to comment.