Skip to content

Commit 6b64353

Browse files
committed
Add matrix with prebuilds for RN core deps enabled
1 parent eaac915 commit 6b64353

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/check.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,13 @@ jobs:
7676
- run: npm test
7777
test-ios:
7878
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Apple 🍎')
79-
name: Test app (iOS)
79+
name: Test app (iOS${{ matrix.rncore-prebuilds && ' with RN prebuilds' || '' }})
8080
runs-on: macos-latest
81+
strategy:
82+
matrix:
83+
rncore-prebuilds:
84+
- true
85+
- false
8186
steps:
8287
- uses: actions/checkout@v4
8388
- uses: actions/setup-node@v4
@@ -100,6 +105,11 @@ jobs:
100105
FERRIC_TARGETS: aarch64-apple-ios-sim
101106
- run: npm run pod-install
102107
working-directory: apps/test-app
108+
env:
109+
# Optionally enable experimental prebuilds
110+
# https://reactnative.dev/blog/2025/08/12/react-native-0.81#experimental-precompiled-ios-builds
111+
RCT_USE_RN_DEP: ${{ matrix.rncore-prebuilds && '1' || '0' }}
112+
RCT_USE_PREBUILT_RNCORE: ${{ matrix.rncore-prebuilds && '1' || '0' }}
103113
- name: Run tests (iOS)
104114
run: npm run test:ios:allTests
105115
# TODO: Enable release mode when it works

0 commit comments

Comments
 (0)