Using Latex backend for rendering AL expressions #395
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI for spectec | |
on: | |
push: | |
branches: [ main ] | |
paths: [ spectec/** ] | |
pull_request: | |
branches: [ main ] | |
paths: [ spectec/** ] | |
# 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@v2 | |
- name: Setup OCaml | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: 4.14.x | |
- name: Setup Dune | |
run: opam install --yes dune menhir mdx | |
- 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==5.1.0 | |
- name: Build and test | |
run: cd spectec && opam exec make ci |