Skip to content

Adapt to rocq-prover/rocq#21820 (collapse_sort_variables arg change) #154

Adapt to rocq-prover/rocq#21820 (collapse_sort_variables arg change)

Adapt to rocq-prover/rocq#21820 (collapse_sort_variables arg change) #154

Workflow file for this run

name: Documentation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Set up git repository
uses: actions/checkout@v3
- name: Build plugin
uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-waterproof.opam'
custom_image: 'rocq/rocq-prover:dev-ocaml-4.14.2-flambda'
before_script: |
startGroup "Install dependencies"
sudo apt-get -y -q install binutils make csh g++ sed gawk autoconf automake autotools-dev
endGroup
script: |
startGroup "Building documentation"
sudo chmod 777 -R .
opam install -y -v odoc
make doc
endGroup
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: "docs/"
deploy:
name: deploy
needs: build
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.output.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy documentation to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4