Skip to content

Commit

Permalink
chore: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Oct 31, 2024
1 parent 2a8d39a commit 92add25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
run: yarn install
working-directory: example
- name: Install pods
run: bundle exec pod install
run: RCT_NEW_ARCH_ENABLED=0 npx pod-install
working-directory: example/ios
- name: Build ios example app
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
working-directory: example/ios
ios-build-fabric:
runs-on: macos-latest
Expand All @@ -58,7 +58,7 @@ jobs:
run: yarn install
working-directory: example
- name: Install pods for new arch
run: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
run: RCT_NEW_ARCH_ENABLED=1 npx pod-install
working-directory: example/ios
- name: Build ios example app
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
Expand Down
3 changes: 2 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ ws_dir = ws_dir.parent until
ws_dir.expand_path.to_s == '/'
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"

workspace 'safe-area-example.xcworkspace'
workspace 'RNSACExample.xcworkspace'

options = {
# RCT_NEW_ARCH_ENABLED env variable (used in CI) takes precedence over the following
:bridgeless_enabled => true,
:fabric_enabled => true,
:hermes_enabled => true,
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,6 @@ SPEC CHECKSUMS:
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 157bed1c62656587df4639d4dc29714898f8fb10

PODFILE CHECKSUM: 352e8510c9f10cba42bd8081cb7c91dfb1d1f66e
PODFILE CHECKSUM: 0fafacc6692f2be08ea55bd74268ec824584f1f4

COCOAPODS: 1.15.2

0 comments on commit 92add25

Please sign in to comment.