-
-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (34 loc) · 1.19 KB
/
ci.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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Install TeX Live
run: sudo apt update && sudo apt install biber latexmk texlive texlive-bibtex-extra texlive-lang-german texlive-latex-extra texlive-luatex
- name: Install tikz-uml
run: |
wget https://perso.ensta-paristech.fr/~kielbasi/tikzuml/var/files/src/tikzuml-v1.0-2016-03-29.tbz -P /tmp
tar -xjf /tmp/tikzuml-v1.0-2016-03-29.tbz -C /tmp
mkdir -p ~/texmf/tex/latex/tikz-uml/
cp /tmp/tikzuml-v1.0-2016-03-29/tikz-uml.sty ~/texmf/tex/latex/tikz-uml/
texhash ~/texmf
- name: Install the arial font
run: |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
run: make build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Arbeit.pdf
path: out/Arbeit.pdf