Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Systems Development
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Edward2.Rowling@live.uwe.ac.uk
Systems Development
Commits
9cd06d73
Commit
9cd06d73
authored
2 months ago
by
Eleftherios2.Tsourdiou@live.uwe.ac.uk
Browse files
Options
Downloads
Patches
Plain Diff
d
parent
5dc74898
No related branches found
No related tags found
No related merge requests found
Pipeline
#8814
passed
2 months ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
with
5 additions
and
5 deletions
.gitlab-ci.yml
+
5
−
5
View file @
9cd06d73
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment