diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df890dc80ad0f55c6aa3b61173d5c37ae8d16e1e..1394b99e96ec8f9ba2d29688aa1e4599ce45d304 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,13 @@ 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 @@ -17,6 +18,7 @@ compile: paths: - docs - build + expire_in: 10 minutes only: - master - python12_update @@ -44,12 +46,10 @@ pack-linux: - stubgen -m library -o . - cd ../.. - 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: paths: - - artifacts + - 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