Skip to content

Commit b8a799f

Browse files
authored
Build blueprint from rewrite branch
1 parent 8f22a37 commit b8a799f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/push_main.yml

+26
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,32 @@ jobs:
6060
- name: copy documentation
6161
run: cp -R .lake/build/doc docs/
6262

63+
- name: checkout rewrite
64+
uses: actions/checkout@v2
65+
with:
66+
ref: rewrite
67+
path: rewrite
68+
fetch-depth: 0
69+
70+
- name: build blueprint
71+
uses: xu-cheng/texlive-action@v2
72+
with:
73+
docker_image: ghcr.io/xu-cheng/texlive-full:20231201
74+
run: |
75+
apk update
76+
apk add --update make py3-pip git pkgconfig graphviz graphviz-dev gcc musl-dev
77+
git config --global --add safe.directory $GITHUB_WORKSPACE
78+
git config --global --add safe.directory `pwd`
79+
python3 -m venv env
80+
source env/bin/activate
81+
pip install --upgrade pip requests wheel
82+
pip install invoke
83+
pip install pygraphviz --global-option=build_ext --global-option="-L/usr/lib/graphviz/" --global-option="-R/usr/lib/graphviz/"
84+
pip install leanblueprint
85+
cd rewrite
86+
inv bp web
87+
cp -r blueprint/web ../docs/blueprint
88+
6389
- name: remove .gitignore for gh-pages
6490
run: rm docs/.gitignore
6591

0 commit comments

Comments
 (0)