Skip to content

Update build-macos.yml #7

Update build-macos.yml

Update build-macos.yml #7

Workflow file for this run

name: Build macOS App
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [ published ]
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install system dependencies
run: |
brew install exiftool libraw
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
pip install exifread
- name: Clean previous build artifacts
run: |
rm -rf dist
rm -rf build
rm -rf __pycache__
rm -rf *.spec
# PySide6 특정 심볼릭 링크 충돌 방지
rm -rf /Users/runner/work/VibeCulling/VibeCulling/dist/VibeCulling/_internal/PySide6/Qt/lib/Qt3DAnimation.framework/Resources
rm -rf /Users/runner/work/VibeCulling/VibeCulling/dist/VibeCulling/_internal/PySide6
- name: Build macOS app
run: |
chmod +x build_mac_app.sh
./build_mac_app.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: VibeCulling-macOS
path: dist/