faster CI

This commit is contained in:
Simon Cruanes 2023-12-07 00:04:48 -05:00
parent 0766f15fe2
commit d40a0070cb
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,7 @@ jobs:
uses: ocaml/setup-ocaml@v2 uses: ocaml/setup-ocaml@v2
with: with:
ocaml-compiler: ${{ matrix.ocaml-compiler }} ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
opam-local-packages: | opam-local-packages: |
./tiny_httpd.opam ./tiny_httpd.opam
./tiny_httpd_camlzip.opam ./tiny_httpd_camlzip.opam

View file

@ -17,7 +17,7 @@ jobs:
#- macos-latest #- macos-latest
#- windows-latest #- windows-latest
ocaml-compiler: ocaml-compiler:
- 5.0.x - 5.1.x
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -30,6 +30,7 @@ jobs:
with: with:
ocaml-compiler: ${{ matrix.ocaml-compiler }} ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test opam-depext-flags: --with-test
allow-prerelease-opam: true
- run: opam install . --deps-only --with-test - run: opam install . --deps-only --with-test