From 2c817e3367ae7bfd521eeac8143c9e0df85218f2 Mon Sep 17 00:00:00 2001 From: Daniel de Leng <dnleng@protonmail.com> Date: Tue, 2 Jul 2024 22:16:09 +0200 Subject: [PATCH] Test separate stages in CI --- .gitlab-ci.yml | 14 +++++++------- docker/Dockerfile | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1394b99e9..e298cf095 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,3 @@ -variables: - GIT_SUBMODULE_STRATEGY: recursive - image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter stages: @@ -8,6 +5,8 @@ stages: - deploy compile: + variables: + GIT_SUBMODULE_STRATEGY: recursive stage: compile script: - mkdir build @@ -21,9 +20,10 @@ compile: expire_in: 10 minutes only: - master - - python12_update pages: + variables: + GIT_STRATEGY: none stage: deploy script: - cd docs @@ -37,9 +37,10 @@ pages: - public only: - master - - python12_update pack-linux: + variables: + GIT_STRATEGY: none stage: deploy script: - cd build/python-api-src @@ -51,5 +52,4 @@ pack-linux: - build/python-api-src/library.cpython-312-x86_64-linux-gnu.so - build/python-api-src/library.pyi only: - - master - - python12_update \ No newline at end of file + - master \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index bf0569135..7844d2cb4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:24.04 LABEL org.opencontainers.image.authors="daniel.de.leng@liu.se" -RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design python3-mypy +RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design python3-mypy python3-mypy-extensions ENV HOME=/root WORKDIR /root -- GitLab