You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI: align the SwiftPM iOS workflows with the repo's CI conventions
Addresses review feedback that the original approach did not follow the
patterns already used in CI:
- The three workflows no longer trigger prebuild-ios-dependencies /
prebuild-ios-core themselves. They are workflow_call-only and consume
the ReactCore / ReactNativeDependencies artifacts produced elsewhere in
the run, the way e2e-ios-templateapp does. The `slices` input added to
the two prebuild workflows is reverted.
- They are invoked from test-all.yml instead of carrying their own cron.
Note this means they run per-PR (gated on should_test_ios) and on
pushes to main, not nightly -- test-all.yml has no schedule trigger.
They start as continue-on-error so a brand-new lane cannot hard-block
unrelated iOS PRs; remove that once it has proven green on main.
- The new-app workflow reuses the react-native-package artifact instead
of rebuilding the npm package.
- Both helper scripts are deleted. Priming the artifact slots needs no
new code: download-spm-artifacts.js already accepts tarball overrides
via RN_CORE_TARBALL_PATH / RN_DEPS_TARBALL_PATH, so the workflows call
`npx react-native spm download` directly, and the new-app case reuses
scripts/e2e/init-project-e2e.js --useHelloWorld.
Debug and Release run as parallel matrix cells. Each cell stages both
flavor slots because `spm add` validates both (it stages both framework
trees and selects one via a per-configuration build setting).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .github/workflows/prebuild-ios-core.yml
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,6 @@ on:
13
13
type: boolean
14
14
required: false
15
15
default: false
16
-
slices:
17
-
description: 'JSON array of Apple platform slices to build. Defaults to the full set; callers that only consume a subset (e.g. a simulator-only e2e build) can pass fewer to save time.'
Copy file name to clipboardExpand all lines: .github/workflows/prebuild-ios-dependencies.yml
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,6 @@ name: Prebuild iOS Dependencies
2
2
3
3
on:
4
4
workflow_call: # this directive allow us to call this workflow from other workflows
5
-
inputs:
6
-
slices:
7
-
description: 'JSON array of Apple platform slices to build. Defaults to the full set; callers that only consume a subset (e.g. a simulator-only e2e build) can pass fewer to save time.'
echo "::error::Could not resolve hermes-compiler's hermesc from $PWD. Release builds need it to compile JS to Hermes bytecode; failing here so it is not mistaken for an xcodebuild bundling error."
0 commit comments