mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
chore(github): add opam deps workflow
This commit is contained in:
parent
a0c8859519
commit
5b1f2af227
1 changed files with 35 additions and 0 deletions
35
.github/workflows/opam-dependencies.yml
vendored
Normal file
35
.github/workflows/opam-dependencies.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
|
||||||
|
name: Main workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
#schedule:
|
||||||
|
# Prime the caches every Monday
|
||||||
|
#- cron: 0 1 * * MON
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
ocaml-compiler:
|
||||||
|
- 4.14.x
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Use OCaml ${{ matrix.ocaml-compiler }}
|
||||||
|
uses: ocaml/setup-ocaml@analysis
|
||||||
|
with:
|
||||||
|
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||||
|
|
||||||
|
- run: opam install . --deps-only --with-test --with-doc
|
||||||
|
|
||||||
|
- uses: ocaml/setup-ocaml/analysis@analysis
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue