-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.01 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
strategy:
matrix:
compiler: ['lualatex', 'pdflatex']
faculty: ['eiti', 'meil']
lang: ['eng','pol']
thesis: ['EngineerThesis', 'MasterThesis']
fail-fast: false
steps:
- name: Checkout WUT-Thesis repository
uses: actions/checkout@v2
- name: Install LaTeX dependencies
run: |
sudo apt-get install -y \
biber \
latexmk \
python3-pip \
texlive \
texlive-bibtex-extra \
texlive-fonts-extra \
texlive-latex-extra \
texlive-lang-polish \
texlive-luatex \
tex-gyre
- name: Install Python dependencies
run: sudo pip install -r requirements.txt
- name: Build PDF file
run: scons all