Skip to content
Snippets Groups Projects
Commit 904f332c authored by Martin Morgenstern's avatar Martin Morgenstern
Browse files

Simplify the build stage

* Reuse the build command defined in Makefile (via `make`)
* Store latexmk's build log as an artifact (the stdout of latexmk
  is saved anyway by GitLab)
parent ef8993e5
No related tags found
No related merge requests found
......@@ -14,12 +14,9 @@ build:
artifacts:
when: always
paths:
- $FILEDIR/$FILENAME.pdf
- $FILEDIR/build_$FILENAME.log
script:
- cd "$FILEDIR"
- latexmk -pdf "$FILENAME.tex" 2>&1 | tee build_"$FILENAME".log
- 'grep -v "LaTeX Warning: There were undefined references." build_"$FILENAME".log'
- thesis.pdf
- thesis.log
script: make
diff:
stage: diff
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment