Add Gitea CI workflow with IPA distribution
All checks were successful
CI / build-and-deploy (push) Successful in 16s

On every push to swift/master: compile-checks against the simulator
(no signing required) then builds a development IPA and deploys it to
the shared OTA server at krishnas-mac-studio.tail37d544.ts.net:8443.

Modelled on 1ai's ci.yaml — runs on the local macos act runner so the
keychain is live and automatic signing works without any cert setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krishna Kumar
2026-05-21 12:05:55 -05:00
parent bbda33ad33
commit 22cde6d2d7
2 changed files with 56 additions and 2 deletions

View File

@@ -34,9 +34,13 @@ elif [ -n "$1" ] && [ "$1" != "$CURRENT_BRANCH" ]; then
COMMIT=$(git rev-parse --short HEAD)
echo "📌 Building commit: $COMMIT on $1"
else
echo "⬇️ Pulling latest $CURRENT_BRANCH..."
git pull origin "$CURRENT_BRANCH"
COMMIT=$(git rev-parse --short HEAD)
if git ls-remote --exit-code origin "$CURRENT_BRANCH" &>/dev/null; then
echo "⬇️ Pulling latest $CURRENT_BRANCH..."
git pull origin "$CURRENT_BRANCH"
else
echo "⚠️ No remote for $CURRENT_BRANCH — building local HEAD"
fi
echo "📌 Building commit: $COMMIT on $CURRENT_BRANCH"
fi