Skip to content

ci (pandoc)

ci (pandoc) #24

Workflow file for this run

name: EasyCrypt Unit Examples Compilation
on: [push,pull_request]
env:
HOME: /home/charlie
OPAMYES: true
OPAMJOBS: 2
jobs:
check-unit-examples:
name: Check Unit Examples
runs-on: ubuntu-latest
container:
image: ghcr.io/easycrypt/ec-build-box
steps:
- uses: actions/checkout@v4
- name: Install EasyCrypt
run: |
opam pin add -n easycrypt git+https://github.com/EasyCrypt/easycrypt
opam install easycrypt
- name: Detect SMT provers
run: |
opam exec -- easycrypt why3config
- name: Check Unit Tests
run: |
opam exec -- easycrypt runtest config/tests.config units
generate-html:
name: Generate HTML
runs-on: ubuntu-latest
container:
image: docker://pandoc/core:2.9
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: |
apk --no-cache add make python3 py3-pip
pip3 install 'panflute==1.12'
- name: Run pandoc
run: |
make tactics.html
- name: Archive document
uses: actions/upload-artifact@v4
with:
name: tactics
path: |
tactics.html
css/styling.css