From 9cd06d732fc90a1d30eaee46f0a2516897b589e8 Mon Sep 17 00:00:00 2001 From: Eleftherios Angelos Tsourdiou <eleftherios2.tsourdiou@live.uwe.ac.uk> Date: Mon, 17 Mar 2025 20:42:06 +0000 Subject: [PATCH] d --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ca7c8f..6424d87 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,18 +2,18 @@ stages: - build build_linux: - image: python:3.8-slim # Use Python 3.8 slim image for Linux + image: python:3.8-slim stage: build script: - - apt-get update && apt-get install -y binutils # Install binutils to fix objdump error + - apt-get update && apt-get install -y binutils - pip install pyinstaller pyqt6 pandas matplotlib - pyinstaller --onefile --windowed main.py artifacts: paths: - - dist/* # Save the build executables + - dist/main.exe # Only upload the main executable, not the whole dist folder build_macos: - image: python:3.8-slim # For macOS, you'd need macOS runners + image: python:3.8-slim stage: build script: - apt-get update && apt-get install -y python3 python3-pip @@ -21,4 +21,4 @@ build_macos: - pyinstaller --onefile --windowed main.py artifacts: paths: - - dist/* + - dist/main.app # Only upload the macOS executable -- GitLab