ci(pet): build and verify the Apple app for reviewers

Run the existing Apple checkpoint/PCM workflow on the macOS recorder runner
and upload the locally signed application as a zipped review artifact.
Android keeps its existing separate APK and reports. Neither is a release.

Validation: actionlint pet workflow passed; local macOS packaging/unzip
integrity passed. Product sources are unchanged from ee35326: required
npm test && npm run check:web passed 66 package, 14 SDK, 446 web, 0 failed,
0 web errors and 2 existing warnings. Pet 63/0; Apple 11 workflows + 27
exact PCM ranges, macOS/iOS builds, Watch 12/0, Android 11/0 + APK/lint.
Hosted execution of this new workflow step remains pending.

Signed-off-by: CodeWhale Bot <[email protected]>
This commit is contained in:
CodeWhale Bot committed 2026-09-12 15:25:46 -07:00
1 parent ee35326e7f
commit 9c80de6b01
2 files changed
+16

No files matched your search

+12
View File
@@ -55,6 +55,18 @@ jobs:
cache-dependency-path: pet/package-lock.json
- run: npm --prefix pet ci --ignore-scripts
- run: npm --prefix pet run check
- name: Build and exercise the Apple host and PCM boundary
if: runner.os == 'macOS'
run: ./pet/scripts/check-apple.sh
- name: Package the locally signed macOS app
if: runner.os == 'macOS'
run: ditto -c -k --keepParent pet/macos/CodewhalePet.app codewhale-pet-macos.zip
- uses: actions/upload-artifact@v7
if: runner.os == 'macOS'
with:
name: codewhale-pet-macos
path: codewhale-pet-macos.zip
if-no-files-found: error
android:
runs-on: ubuntu-latest
timeout-minutes: 25
+4
View File
@@ -60,6 +60,10 @@ quality need separate manual evidence.
PET_KOTLIN_LIB=/path/to/gradle/lib ./pet/android/verify.sh
```
The macOS recorder job also runs `check-apple.sh` and uploads the resulting
locally signed app as `codewhale-pet-macos`. Android uploads its debug APK and
reports separately. These are CI review artifacts, not notarized releases.
Apple requires macOS, Xcode command-line tools, and XcodeGen for iOS. The iOS
script generates and builds the Simulator project directly from the shared
source, without first building macOS. Open `pet/ios/CodewhalePet.xcodeproj` to run.