Skip to content

Commit

Permalink
Change pipeline to make Makefile.coq (#42)
Browse files Browse the repository at this point in the history
* Make Makefile.coq using make (without error)

* use maximal processus to make doc
  • Loading branch information
start974 authored Jul 2, 2021
1 parent 8dc3dfa commit 5b3f400
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/buid-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
custom_image: ${{ matrix.image }}
before_script: |
startGroup "Create Makefile.coq and add permission"
make || true
sudo chown -R coq:coq .
make Makefile.coq
endGroup
script: |
startGroup "Build documentation"
make -j2 html
make -j`nproc` html
endGroup
uninstall: |
startGroup "Clean"
Expand All @@ -51,10 +51,11 @@ jobs:
latexmk_use_lualatex: true

- name: Extract PDF and Coq-Doc
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
mkdir -p public/doc public/theories
cp doc/hydras.pdf public/doc/
cp -r theories/html public/theories/ || true
cp -r theories/html public/theories/
# Depending on whether we are on master or not, we deploy to
# GitHub Pages or as an artifact
- name: Deploy to GitHub pages
Expand Down

0 comments on commit 5b3f400

Please sign in to comment.