Skip to content

Commit 2169743

Browse files
committed
chore: update CI
1 parent 2a8d39a commit 2169743

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/ios.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
run: yarn install
3535
working-directory: example
3636
- name: Install pods
37-
run: bundle exec pod install
37+
run: RCT_NEW_ARCH_ENABLED=0 npx pod-install
3838
working-directory: example/ios
3939
- name: Build ios example app
40-
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
40+
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
4141
working-directory: example/ios
4242
ios-build-fabric:
4343
runs-on: macos-latest
@@ -58,8 +58,8 @@ jobs:
5858
run: yarn install
5959
working-directory: example
6060
- name: Install pods for new arch
61-
run: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
61+
run: RCT_NEW_ARCH_ENABLED=1 npx pod-install
6262
working-directory: example/ios
6363
- name: Build ios example app
64-
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
64+
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
6565
working-directory: example/ios

example/android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
4040
# to write custom TurboModules/Fabric components OR use libraries that
4141
# are providing them.
4242
# Note that this is incompatible with web debugging.
43+
# the project property passed by CI (-PnewArchEnabled=false) takes precedence over the following
4344
newArchEnabled=true
4445
bridgelessEnabled=true
4546

example/ios/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ ws_dir = ws_dir.parent until
44
ws_dir.expand_path.to_s == '/'
55
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
66

7-
workspace 'safe-area-example.xcworkspace'
7+
workspace 'RNSACExample.xcworkspace'
88

99
options = {
10+
# RCT_NEW_ARCH_ENABLED env variable (used in CI) takes precedence over the following
1011
:bridgeless_enabled => true,
1112
:fabric_enabled => true,
1213
:hermes_enabled => true,

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,6 @@ SPEC CHECKSUMS:
19861986
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
19871987
Yoga: 157bed1c62656587df4639d4dc29714898f8fb10
19881988

1989-
PODFILE CHECKSUM: 352e8510c9f10cba42bd8081cb7c91dfb1d1f66e
1989+
PODFILE CHECKSUM: 0fafacc6692f2be08ea55bd74268ec824584f1f4
19901990

19911991
COCOAPODS: 1.15.2

0 commit comments

Comments
 (0)