From 291f3e3baf62d232fd83d8f421bad92843a2b594 Mon Sep 17 00:00:00 2001 From: Makito Date: Sat, 4 Apr 2026 12:05:48 +0900 Subject: [PATCH] chore(ci): add release workflow for stage-pocket iOS build --- .github/workflows/release-pocket-ios.yml | 43 ++++++++++++++++++++++++ cspell.config.yaml | 1 + 2 files changed, 44 insertions(+) create mode 100644 .github/workflows/release-pocket-ios.yml diff --git a/.github/workflows/release-pocket-ios.yml b/.github/workflows/release-pocket-ios.yml new file mode 100644 index 000000000..ec4fd0a6f --- /dev/null +++ b/.github/workflows/release-pocket-ios.yml @@ -0,0 +1,43 @@ +name: Release Pocket (iOS) + +permissions: + contents: write + actions: read + +on: + workflow_dispatch: + +jobs: + build: + name: Build iOS + runs-on: macos-15 + env: + PRODUCT_NAME: 'AIRI' + steps: + - uses: actions/checkout@v6 + + - uses: pnpm/action-setup@v4 + with: + run_install: false + - uses: actions/setup-node@v6 + with: + node-version: lts/* + cache: pnpm + + - run: pnpm install --frozen-lockfile + - run: pnpm run build:packages + + - name: Build assets + run: pnpm -F @proj-airi/stage-pocket run build + + - name: Sync assets to iOS + run: pnpm -F @proj-airi/stage-pocket exec cap sync ios + + - name: Build iOS + run: | + xcodebuild build \ + -project apps/stage-pocket/ios/App/App.xcodeproj \ + -scheme App \ + -configuration Release \ + -destination "generic/platform=iOS Simulator" \ + CODE_SIGNING_ALLOWED=NO diff --git a/cspell.config.yaml b/cspell.config.yaml index fe70a8eb7..8de3d6fc3 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -328,6 +328,7 @@ words: - worklets - xast - xastscript + - xcodeproj - Xenova - xiaolai - xsai