From 935a785bc2b16bc422c38c2379d7560a8ce7530c Mon Sep 17 00:00:00 2001 From: Daniel de Leng <dnleng@protonmail.com> Date: Tue, 2 Jul 2024 21:40:33 +0200 Subject: [PATCH] Test separate stages in CI --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9655c81df..df890dc80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,22 @@ variables: GIT_SUBMODULE_STRATEGY: recursive -image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter - stages: - compile - deploy compile: + image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter stage: compile script: - mkdir build - cd build - cmake .. - make library + artifacts: + paths: + - docs + - build only: - master - python12_update @@ -21,7 +24,7 @@ compile: pages: stage: deploy script: - - cd ../docs + - cd docs - python3 library_import_check.py - make html - cd .. -- GitLab