Skip to content

Commit a0eab78

Browse files
author
Vladimir Kotal
committed
add Github action to compile
1 parent 70099a6 commit a0eab78

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pdfs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Compile
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
- *.tex
8+
- *.m4
9+
- *.sty
10+
- Makefile
11+
- .github/workflows/pdfs.yml
12+
- img/**
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Update the system
18+
run: sudo apt-get -qq update
19+
- name: Install pre-requisites for LaTeX
20+
sudo apt-get install -y --no-install-recommends texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended texlive-pstricks aspell aspell-en
21+
- name: Run spellcheck
22+
run: make spellcheck
23+
- name: Compile first phase
24+
run: make slides notes
25+
- name: Compile second phase to get table of contents
26+
run: make slides notes

0 commit comments

Comments
 (0)