mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
This should detect issues such as the ones encountered in https://github.com/ocaml/opam-repository/pull/20345 sooner
22 lines
698 B
YAML
22 lines
698 B
YAML
name: build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
run:
|
|
name: Build
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
|
ocaml-compiler: [ '4.04.0', '4.11.0' ]
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: avsm/setup-ocaml@v2
|
|
with:
|
|
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
|
- run: opam pin -n .
|
|
- run: opam install tiny_httpd
|
|
- run: opam install tiny_httpd_camlzip
|
|
- run: opam reinstall -t tiny_httpd
|
|
- run: opam reinstall -t tiny_httpd_camlzip
|
|
- run: opam remove tiny_httpd tiny_httpd_camlzip
|
|
- run: opam exec -- dune build @install @runtest
|