Add Gitea workflow to build the macOS app
Build / build (pull_request) Failing after 3s

Builds a Release, ad-hoc signed app on the macos-arm64 runner and
uploads it as a zipped artifact. Also fixes INFOPLIST_FILE, which
pointed at a nonexistent MyApp/Info.plist and broke every build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 22:16:12 +02:00
co-authored by Claude Opus 5.5
parent f752c7f6b9
commit 3b15042882
2 changed files with 54 additions and 1 deletions
+53
View File
@@ -0,0 +1,53 @@
name: Build
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
workflow_dispatch:
jobs:
build:
# Must match a label registered on your macOS act_runner (host mode).
runs-on: macos-arm64
env:
PROJECT: proxy studio.xcodeproj
TARGET: proxy studio
APP_NAME: Proxy Studio
steps:
- uses: actions/checkout@v4
- name: Show toolchain
run: |
xcode-select -p
xcodebuild -version
- name: Build
run: |
set -o pipefail
xcodebuild build \
-project "$PROJECT" \
-target "$TARGET" \
-configuration Release \
SYMROOT="$PWD/build" \
CODE_SIGN_STYLE=Manual \
CODE_SIGN_IDENTITY=- \
DEVELOPMENT_TEAM= \
| tee xcodebuild.log
- name: Package
run: |
cd build/Release
ditto -c -k --keepParent "$APP_NAME.app" "$GITHUB_WORKSPACE/ProxyStudio.zip"
- uses: actions/upload-artifact@v4
with:
name: ProxyStudio-${{ github.sha }}
path: ProxyStudio.zip
- uses: actions/upload-artifact@v4
if: failure()
with:
name: xcodebuild-log
path: xcodebuild.log