From 482379980b83f3f93be4beb5f94ecefb90bed51e Mon Sep 17 00:00:00 2001 From: Luke Naylor <l.naylor@sms.ed.ac.uk> Date: Fri, 10 Mar 2023 15:00:31 +0000 Subject: [PATCH] Add CI build --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..fd30d56 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +stages: + - build + +variables: + GIT_SUBMODULE_STRATEGY: normal + +build: + stage: build + image: registry.gitlab.com/islandoftex/images/texlive:latest + before_script: + - echo $CI_JOB_ID + - echo BLD_JOB_ID=$CI_JOB_ID >> build.env + script: + - latexmk + after_script: + - cat main.log + artifacts: + paths: + - main.pdf + reports: + # To ensure we've access to this file in the release stage + dotenv: build.env -- GitLab