Add Gitea workflow for macOS builds
Some checks failed
Build macOS App / build (push) Has been cancelled

This commit is contained in:
Micha
2025-11-19 23:40:23 +01:00
parent 6b8d458605
commit f1367287de
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
name: Build macOS App
on:
push:
branches:
- master
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build release configuration
run: |
xcodebuild \
-project iKeyMon.xcodeproj \
-scheme iKeyMon \
-configuration Release \
-derivedDataPath build \
clean build
- name: Package app bundle
run: |
mkdir -p artifacts
cd build/Build/Products/Release
zip -r "../../../../artifacts/iKeyMon.app.zip" iKeyMon.app
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: iKeyMon-macos-app
path: artifacts/iKeyMon.app.zip