mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
chore: try to optimize CI a bit further
This commit is contained in:
parent
954f1c6765
commit
b5c0de301d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -24,9 +24,9 @@ jobs:
|
||||||
- run: opam depext -yt containers containers-data containers-thread
|
- run: opam depext -yt containers containers-data containers-thread
|
||||||
if: steps.cache-opam.outputs.cache-hit != 'true'
|
if: steps.cache-opam.outputs.cache-hit != 'true'
|
||||||
- run: opam install -t . --deps-only
|
- run: opam install -t . --deps-only
|
||||||
if: ${{ matrix.os != 'windows-latest' }}
|
if: ${{ matrix.os != 'windows-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }}
|
||||||
- run: opam install . --deps-only # no test deps
|
- run: opam install . --deps-only # no test deps
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }}
|
||||||
- run: opam exec -- dune build
|
- run: opam exec -- dune build
|
||||||
- run: opam exec -- dune runtest
|
- run: opam exec -- dune runtest
|
||||||
if: ${{ matrix.os != 'windows-latest' }}
|
if: ${{ matrix.os != 'windows-latest' }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue