Skip to content

Commit

Permalink
Build dependency graphs
Browse files Browse the repository at this point in the history
Signed-off-by: zeramorphic <[email protected]>
  • Loading branch information
zeramorphic committed Apr 12, 2024
1 parent 05ff678 commit 6bf1214
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
printf "\n#deptree\n#index\n#unseen\n" >> DependencyGraph.lean
~/.elan/bin/lake -Kenv=dev build DependencyGraph
- name: setup graphviz
uses: ts-graphviz/setup-graphviz@v2

- name: build dependency graph
working-directory: docs
run: |
dot -Tpdf -Gnewrank=true -Goverlaps=false -Gsplines=ortho depgraph.dot > depgraph.pdf
dot -Tpng -Gnewrank=true -Goverlaps=false -Gsplines=ortho depgraph.dot > depgraph.png
dot -Tsvg -Gnewrank=true -Goverlaps=false -Gsplines=ortho depgraph.dot > depgraph.svg
# - name: build lean4checker
# run: |
# git clone https://github.com/leanprover/lean4checker
Expand Down Expand Up @@ -67,7 +77,7 @@ jobs:
- name: upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/_site'
path: "docs/_site"

- name: deploy website
uses: actions/deploy-pages@v1

0 comments on commit 6bf1214

Please sign in to comment.