mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
chore: try to fix CI
This commit is contained in:
parent
9d8439b96a
commit
e5d5f60e67
1 changed files with 7 additions and 6 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
name: build
|
name: build
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
name: Build
|
name: Build
|
||||||
|
|
@ -7,15 +7,16 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
ocaml-version: [ '4.08.0' ]
|
ocaml-compiler: [ '4.04.0', '4.11.0' ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: avsm/setup-ocaml@master
|
- uses: avsm/setup-ocaml@v2
|
||||||
with:
|
with:
|
||||||
ocaml-version: ${{ matrix.ocaml-version }}
|
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||||
- run: opam pin -n .
|
- run: opam pin -n .
|
||||||
# more recent dune breaks the inline tests… because of warn-error 😱
|
# dune 2.8 breaks the inline tests… because of warn-error 😱. So we use an
|
||||||
- run: opam pin dune 2.7.1 -y -n
|
# older version
|
||||||
|
- run: opam pin dune 1.11.0 -y -n
|
||||||
- run: opam depext -yt tiny_httpd tiny_httpd_camlzip
|
- run: opam depext -yt tiny_httpd tiny_httpd_camlzip
|
||||||
- run: opam install -t . --deps-only
|
- run: opam install -t . --deps-only
|
||||||
- run: opam exec -- dune build
|
- run: opam exec -- dune build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue