Skip to content

Commit eab21e8

Browse files
authored
Merge pull request #15 from UBCMath/ci_compile
CI: compile notes to PDF
2 parents 2db8e1c + a5b3b8c commit eab21e8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,20 @@ jobs:
2828
check_filenames: true
2929
check_hidden: true
3030
skip: '*.pdf'
31+
32+
compile:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
- name: install tex stuff
37+
run: |
38+
ls
39+
pwd
40+
sudo apt-get -y update
41+
sudo apt-get --no-install-recommends -y install latexmk
42+
- name: compile tex
43+
run: |
44+
pdflatex -halt-on-error -interaction=nonstopmode notes.tex
45+
pdflatex -halt-on-error -interaction=nonstopmode notes.tex
46+
pdflatex -halt-on-error -interaction=nonstopmode notes.tex
47+
echo "Built successfully"

0 commit comments

Comments
 (0)