Skip to content
Snippets Groups Projects
Commit 9cd06d73 authored by Eleftherios2.Tsourdiou@live.uwe.ac.uk's avatar Eleftherios2.Tsourdiou@live.uwe.ac.uk
Browse files

d

parent 5dc74898
No related branches found
No related tags found
No related merge requests found
Pipeline #8814 passed
...@@ -2,18 +2,18 @@ stages: ...@@ -2,18 +2,18 @@ stages:
- build - build
build_linux: build_linux:
image: python:3.8-slim # Use Python 3.8 slim image for Linux image: python:3.8-slim
stage: build stage: build
script: 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 - pip install pyinstaller pyqt6 pandas matplotlib
- pyinstaller --onefile --windowed main.py - pyinstaller --onefile --windowed main.py
artifacts: artifacts:
paths: paths:
- dist/* # Save the build executables - dist/main.exe # Only upload the main executable, not the whole dist folder
build_macos: build_macos:
image: python:3.8-slim # For macOS, you'd need macOS runners image: python:3.8-slim
stage: build stage: build
script: script:
- apt-get update && apt-get install -y python3 python3-pip - apt-get update && apt-get install -y python3 python3-pip
...@@ -21,4 +21,4 @@ build_macos: ...@@ -21,4 +21,4 @@ build_macos:
- pyinstaller --onefile --windowed main.py - pyinstaller --onefile --windowed main.py
artifacts: artifacts:
paths: paths:
- dist/* - dist/main.app # Only upload the macOS executable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment