From 1fdfbbd4aa57fadf6feda96fe2a96f3d3bf73304 Mon Sep 17 00:00:00 2001
From: Daniel de Leng <dnleng@protonmail.com>
Date: Tue, 2 Jul 2024 21:54:39 +0200
Subject: [PATCH] Test separate stages in CI

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index df890dc80..1394b99e9 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
-- 
GitLab