From 904f332cc0507503c4bb192cc608748a7eaad3b1 Mon Sep 17 00:00:00 2001 From: Martin Morgenstern <martin.morgenstern1@tu-dresden.de> Date: Mon, 3 Feb 2020 10:00:30 +0100 Subject: [PATCH] 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) --- .gitlab-ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c05a70..84c3108 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- GitLab