mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
22 lines
687 B
YAML
22 lines
687 B
YAML
name: build
|
|
on: [push]
|
|
jobs:
|
|
run:
|
|
name: Build
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
|
ocaml-version: [ '4.05.0' ]
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: avsm/setup-ocaml@master
|
|
with:
|
|
ocaml-version: ${{ matrix.ocaml-version }}
|
|
- run: opam pin -n .
|
|
# more recent dune breaks the inline tests… because of warn-error 😱
|
|
- run: opam pin dune 2.7.1 -y -n
|
|
- run: opam depext -yt tiny_httpd tiny_httpd_camlzip
|
|
- run: opam install -t . --deps-only
|
|
- run: opam exec -- dune build
|
|
- run: opam exec -- dune runtest
|