Skip to content

Commit b838cb6

Browse files
author
Vladimir Kotal
committed
compile workflow
1 parent fad55f4 commit b838cb6

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.github/workflows/pdfs.yml renamed to .github/workflows/compile.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Compile
1+
name: Compile sanity check
22
on:
33
push:
44
branches:
@@ -8,7 +8,7 @@ on:
88
- '**.m4'
99
- '**.sty'
1010
- Makefile
11-
- .github/workflows/pdfs.yml
11+
- .github/workflows/compile.yml
1212
- 'img/**'
1313
jobs:
1414
build:
@@ -17,7 +17,9 @@ jobs:
1717
- name: Update the system
1818
run: sudo apt-get -qq update
1919
- name: Install pre-requisites for LaTeX
20-
run: 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
20+
run: ./dev/install-latex.sh
21+
- name: Install pre-requisites for spell check
22+
run: ./dev/install-spellcheck.sh
2123
- name: Checkout master branch
2224
uses: actions/checkout@v2
2325
with:

dev/install-latex.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
sudo apt-get install -y --no-install-recommends \
4+
texlive-fonts-recommended \
5+
texlive-latex-extra \
6+
texlive-fonts-extra \
7+
dvipng \
8+
texlive-latex-recommended \
9+
texlive-pstricks

dev/install-spellcheck.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
sudo apt-get install -y --no-install-recommends \
4+
aspell \
5+
aspell-en

0 commit comments

Comments
 (0)