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

Test separate stages in CI

parent 935a785b
No related branches found
No related tags found
No related merge requests found
Pipeline #133099 passed
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter
stages: stages:
- compile - compile
- deploy - deploy
compile: compile:
image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter
stage: compile stage: compile
script: script:
- mkdir build - mkdir build
...@@ -17,6 +18,7 @@ compile: ...@@ -17,6 +18,7 @@ compile:
paths: paths:
- docs - docs
- build - build
expire_in: 10 minutes
only: only:
- master - master
- python12_update - python12_update
...@@ -44,12 +46,10 @@ pack-linux: ...@@ -44,12 +46,10 @@ pack-linux:
- stubgen -m library -o . - stubgen -m library -o .
- cd ../.. - cd ../..
- python3 generate_pydocs.py - python3 generate_pydocs.py
- mkdir artifacts
- cp build/python-api-src/library.cpython-*-x86_64-linux-gnu.so artifacts
- cp build/python-api-src/library.pyi artifacts
artifacts: artifacts:
paths: paths:
- artifacts - build/python-api-src/library.cpython-312-x86_64-linux-gnu.so
- build/python-api-src/library.pyi
only: only:
- master - master
- python12_update - python12_update
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment