-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 898 Bytes
/
ci-spectec.yml
File metadata and controls
32 lines (28 loc) · 898 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: CI for spectec
on:
push:
branches: [ main ]
paths: [ spectec/**, document/** ]
pull_request:
branches: [ main ]
paths: [ spectec/**, document/** ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
spec-tec:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.x
- name: Setup Dune
run: opam install --yes dune menhir mdx zarith
- name: Setup Latex
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: Setup Sphinx
run: pip install six && pip install sphinx==8.1.3
- name: Build and test
run: cd spectec && opam exec make ci