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

Update .gitlab-ci.yml file

parent df3a8d81
No related branches found
No related tags found
No related merge requests found
Pipeline #8810 failed
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
stage: build
script:
- pip install pyinstaller pyqt6 pandas matplotlib
- pyinstaller --onefile --windowed main.py
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
stage: build
script:
- apt-get update && apt-get install -y python3 python3-pip
- pip3 install pyinstaller pyqt6 pandas matplotlib
- pyinstaller --onefile --windowed main.py
artifacts:
paths:
- dist/*
only:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment