Skip to content

Commit 295c41f

Browse files
committed
ci: setup document build
1 parent face05c commit 295c41f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build LaTeX document
2+
on: [push, pull_request]
3+
jobs:
4+
build_latex:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Cancel Previous Runs
8+
uses: styfle/cancel-workflow-action@0.7.0
9+
10+
- name: Set up Git repository
11+
uses: actions/checkout@v5
12+
- run: sudo apt-get update
13+
- run: sudo apt install fonts-cmu texlive-lang-cyrillicsu texlive-bibtex-extra texlive-science texlive-plain-generic latexmk --yes
14+
- run: sudo apt install libpdf-api2-perl python3-pygments --yes
15+
- run: sudo apt install texlive-fonts-recommended --yes
16+
17+
- name: build document
18+
run: latexmk core-design-document.tex
19+
20+
- name: Upload compiled document
21+
uses: actions/upload-artifact@v3
22+
with:a
23+
name: core-design-document
24+
path: core-design-document.pdf

0 commit comments

Comments
 (0)