-
Notifications
You must be signed in to change notification settings - Fork 15
28 lines (23 loc) · 900 Bytes
/
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
name: CI
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document (PdfLaTeX)
uses: dante-ev/latex-action@latest
with:
root_file: example-programming.tex
args: -pdflatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
- name: Compile LaTeX document (LuaLaTeX)
uses: dante-ev/latex-action@latest
with:
root_file: example-programming.tex
args: -lualatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
- name: Compile LaTeX document (XeLaTeX)
uses: dante-ev/latex-action@latest
with:
root_file: example-programming.tex
args: -xelatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode