Skip to content

Commit 86ff582

Browse files
committed
Add matrix with prebuilds for RN core and deps enabled
1 parent eaac915 commit 86ff582

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/check.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,16 @@ 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.rn-deps-prebuilds && ' / RN deps prebuilds' || '' }}${{ matrix.rn-core-prebuilds && ' / RN core prebuilds' || '' }})
8080
runs-on: macos-latest
81+
strategy:
82+
matrix:
83+
rn-deps-prebuilds:
84+
- true
85+
- false
86+
rn-core-prebuilds:
87+
- true
88+
- false
8189
steps:
8290
- uses: actions/checkout@v4
8391
- uses: actions/setup-node@v4
@@ -100,6 +108,11 @@ jobs:
100108
FERRIC_TARGETS: aarch64-apple-ios-sim
101109
- run: npm run pod-install
102110
working-directory: apps/test-app
111+
env:
112+
# Optionally enable experimental prebuilds
113+
# https://reactnative.dev/blog/2025/08/12/react-native-0.81#experimental-precompiled-ios-builds
114+
RCT_USE_PREBUILT_RNCORE: ${{ matrix.rn-core-prebuilds && '1' || '0' }}
115+
RCT_USE_RN_DEP: ${{ matrix.rn-deps-prebuilds && '1' || '0' }}
103116
- name: Run tests (iOS)
104117
run: npm run test:ios:allTests
105118
# TODO: Enable release mode when it works

0 commit comments

Comments
 (0)