mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
Make CI closer to what users would do
This should detect issues such as the ones encountered in https://github.com/ocaml/opam-repository/pull/20345 sooner
This commit is contained in:
parent
0bb7094ef8
commit
ae0162beda
1 changed files with 6 additions and 5 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
|
@ -14,8 +14,9 @@ jobs:
|
|||
with:
|
||||
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||
- run: opam pin -n .
|
||||
- run: opam depext -yt tiny_httpd tiny_httpd_camlzip
|
||||
- run: opam install -t . --deps-only
|
||||
- run: opam exec -- dune build @install
|
||||
- run: opam exec -- dune runtest
|
||||
if: ${{ matrix.operating-system == 'unbuntu-latest' }}
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue