Skip to content

Commit

Permalink
add LuaLaTeX to CI build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelroland committed Oct 19, 2024
1 parent c50936e commit ac1561b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/test-build-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ jobs:
job_source: ${{ env.SOURCE_NAME_THESIS }}
job_artifact_suffix: -xelatex

build-thesis-lualatex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/latexmk-and-output
with:
job_engine: pdflua
job_source: ${{ env.SOURCE_NAME_THESIS }}
job_artifact_suffix: -lualatex

build-report-pdflatex:
runs-on: ubuntu-latest
steps:
Expand All @@ -56,6 +68,18 @@ jobs:
job_source: ${{ env.SOURCE_NAME_REPORT }}
job_artifact_suffix: -xelatex

build-report-lualatex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/latexmk-and-output
with:
job_engine: pdflua
job_source: ${{ env.SOURCE_NAME_REPORT }}
job_artifact_suffix: -lualatex

build-seminar-pdflatex:
runs-on: ubuntu-latest
steps:
Expand All @@ -79,3 +103,16 @@ jobs:
job_engine: pdfxe
job_source: ${{ env.SOURCE_NAME_SEMINAR }}
job_artifact_suffix: -xelatex

build-seminar-lualatex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/latexmk-and-output
with:
job_engine: pdflua
job_source: ${{ env.SOURCE_NAME_SEMINAR }}
job_artifact_suffix: -lualatex

2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include:
parallel:
matrix:
- LATEX_BUILDPDF_SOURCE_NAME: [main-thesis, main-report, main-seminarreport]
LATEX_BUILDPDF_TEX_COMMAND: [pdflatex, xelatex]
LATEX_BUILDPDF_TEX_COMMAND: [pdflatex, xelatex, lualatex]

latex_build_pdf:
extends:
Expand Down

0 comments on commit ac1561b

Please sign in to comment.