Last active
November 3, 2021 12:20
-
-
Save kmindi/249809cea9a587a5e634e66fe32ebc1c to your computer and use it in GitHub Desktop.
GitLab CI Configuration file for latex with building files in subdirectory with latex runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile_pdf: | |
| image: kmindi/latex-docker | |
| script: | |
| - latexmk -C -cd -outdir="M2" -auxdir="M2" M2/M2.tex | |
| - latexmk -lualatex -pdf -cd -outdir="M2" -auxdir="M2" M2/M2.tex | |
| artifacts: | |
| paths: | |
| - "M2/M2.pdf" | |
| expire_in: 1 week | |
| except: | |
| - tags | |
| compile_release_pdf: | |
| image: kmindi/latex-docker | |
| script: | |
| - latexmk -C -cd -outdir="M2" -auxdir="M2" M2/M2.tex | |
| - latexmk -lualatex -pdf -cd -outdir="M2" -auxdir="M2" M2/M2.tex | |
| artifacts: | |
| paths: | |
| - "M2/M2.pdf" | |
| only: | |
| - tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment