From c542e4b3b9c4e031b0c8313ca1eaea4d1e04203d Mon Sep 17 00:00:00 2001
From: "Eleftherios2.Tsourdiou@live.uwe.ac.uk"
 <eleftherios2.tsourdiou@live.uwe.ac.uk>
Date: Mon, 17 Mar 2025 20:13:16 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f8b9e5..ad9680e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,8 @@
 stages:
   - build
 
-variables:
-  # Use a Python 3.8 image for both macOS and Linux builds
-  PYTHON_VERSION: "3.8"
-
 build_linux:
-  image: python:${PYTHON_VERSION}-slim
+  image: python:3.8-slim  # Use a Python 3.8 Docker image for Linux
   stage: build
   script:
     - pip install pyinstaller pyqt6 pandas matplotlib
@@ -14,11 +10,9 @@ build_linux:
   artifacts:
     paths:
       - dist/*  # Store the generated executables
-  only:
-    - main  # Run only when changes are pushed to the main branch
 
 build_macos:
-  image: apple/swift:latest
+  image: apple/swift:latest  # Use a macOS image for macOS builds (may require macOS runner)
   stage: build
   script:
     - apt-get update && apt-get install -y python3 python3-pip
@@ -27,6 +21,5 @@ build_macos:
   artifacts:
     paths:
       - dist/*
-  only:
-    - main
+
 
-- 
GitLab