Skip to content

Commit c349522

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

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

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

0 commit comments

Comments
 (0)