diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41f4da1726fe77790ed06d69333a317bebf7bbcc..6ca7c8f96b95a7db20e83a636765af1c95f04eaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,9 +2,10 @@ stages: - build build_linux: - image: python:3.8-slim # Use a Python 3.8 Docker image for Linux builds + image: python:3.8-slim # Use Python 3.8 slim image for Linux stage: build script: + - apt-get update && apt-get install -y binutils # Install binutils to fix objdump error - pip install pyinstaller pyqt6 pandas matplotlib - pyinstaller --onefile --windowed main.py artifacts: @@ -12,7 +13,7 @@ build_linux: - dist/* # Save the build executables build_macos: - image: apple/swift:latest # Use the Apple Swift image for macOS builds (requires macOS runner or VM) + image: python:3.8-slim # For macOS, you'd need macOS runners stage: build script: - apt-get update && apt-get install -y python3 python3-pip @@ -20,4 +21,4 @@ build_macos: - pyinstaller --onefile --windowed main.py artifacts: paths: - - dist/* # Save the build executables + - dist/*