-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (32 loc) · 842 Bytes
/
main.yml
File metadata and controls
32 lines (32 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: opam
on:
pull_request:
push:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-24.04
ocaml-version:
- "5.3"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: Install system dependencies
run: opam depext anders --yes
- name: Install dependencies
run: opam install . --deps-only
- name: Build
run: opam exec -- dune build
- name: Install package
run: opam install .
- name: Run tests / checks
run: opam exec -- dune exec anders silent check library/book.anders