Skip to content
Snippets Groups Projects
Commit 2c817e33 authored by Daniel de Leng's avatar Daniel de Leng
Browse files

Test separate stages in CI

parent 1fdfbbd4
No related branches found
No related tags found
No related merge requests found
variables:
GIT_SUBMODULE_STRATEGY: recursive
image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter
stages: stages:
...@@ -8,6 +5,8 @@ stages: ...@@ -8,6 +5,8 @@ stages:
- deploy - deploy
compile: compile:
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: compile stage: compile
script: script:
- mkdir build - mkdir build
...@@ -21,9 +20,10 @@ compile: ...@@ -21,9 +20,10 @@ compile:
expire_in: 10 minutes expire_in: 10 minutes
only: only:
- master - master
- python12_update
pages: pages:
variables:
GIT_STRATEGY: none
stage: deploy stage: deploy
script: script:
- cd docs - cd docs
...@@ -37,9 +37,10 @@ pages: ...@@ -37,9 +37,10 @@ pages:
- public - public
only: only:
- master - master
- python12_update
pack-linux: pack-linux:
variables:
GIT_STRATEGY: none
stage: deploy stage: deploy
script: script:
- cd build/python-api-src - cd build/python-api-src
...@@ -51,5 +52,4 @@ pack-linux: ...@@ -51,5 +52,4 @@ pack-linux:
- build/python-api-src/library.cpython-312-x86_64-linux-gnu.so - build/python-api-src/library.cpython-312-x86_64-linux-gnu.so
- build/python-api-src/library.pyi - build/python-api-src/library.pyi
only: only:
- master - master
- python12_update \ No newline at end of file
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
FROM ubuntu:24.04 FROM ubuntu:24.04
LABEL org.opencontainers.image.authors="daniel.de.leng@liu.se" 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 ENV HOME=/root
WORKDIR /root WORKDIR /root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment