mirror of
https://github.com/Relintai/elteikthesis.git
synced 2024-11-17 07:47:18 +01:00
Add luatex to automatic ci run
This commit is contained in:
parent
d1bd3bc2b6
commit
ea66d23d6c
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -2,21 +2,34 @@ name: Build LaTeX document
|
|||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build_latex:
|
build_latex:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
engine: [pdflatex, lualatex]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Git repository
|
- name: Set up Git repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Compile LaTeX document
|
- if: ${{ matrix.engine == 'pdflatex' }}
|
||||||
|
name: Compile LaTeX document
|
||||||
uses: xu-cheng/latex-action@master
|
uses: xu-cheng/latex-action@master
|
||||||
with:
|
with:
|
||||||
root_file: |
|
root_file: |
|
||||||
thesis.tex
|
thesis.tex
|
||||||
minted-integration.tex
|
minted-integration.tex
|
||||||
latexmk_shell_escape: true
|
latexmk_shell_escape: true
|
||||||
|
- if: ${{ matrix.engine == 'lualatex' }}
|
||||||
|
name: Compile LaTeX document
|
||||||
|
uses: xu-cheng/latex-action@master
|
||||||
|
with:
|
||||||
|
root_file: |
|
||||||
|
thesis.tex
|
||||||
|
minted-integration.tex
|
||||||
|
latexmk_shell_escape: true
|
||||||
|
latexmk_use_lualatex: true
|
||||||
- name: Upload the compiled pdf
|
- name: Upload the compiled pdf
|
||||||
uses: actions/upload-artifact@v2.2.4
|
uses: actions/upload-artifact@v2.2.4
|
||||||
with:
|
with:
|
||||||
name: thesis
|
name: thesis-${{ matrix.engine }}
|
||||||
path: |
|
path: |
|
||||||
thesis.pdf
|
thesis.pdf
|
||||||
minted-integration.pdf
|
minted-integration.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user