Skip to content

Commit

Permalink
feat: add cocoapods cache
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Dec 12, 2023
1 parent 128b3c9 commit eaf7e94
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 32 deletions.
46 changes: 24 additions & 22 deletions .circleci/configurations/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -626,32 +626,34 @@ jobs:
- run_yarn
- setup_ruby:
ruby_version: << parameters.ruby_version >>
- run:
name: "Install pods"
command: |
if [[ << parameters.architecture >> == "NewArch" ]]; then
export RCT_NEW_ARCH_ENABLED=1
fi
- with_xcodebuild_cache:
steps:
- run:
name: "Install pods"
command: |
if [[ << parameters.architecture >> == "NewArch" ]]; then
export RCT_NEW_ARCH_ENABLED=1
fi
if [[ << parameters.jsengine >> == "JSC" ]]; then
export USE_HERMES=0
fi
if [[ << parameters.jsengine >> == "JSC" ]]; then
export USE_HERMES=0
fi
if [[ << parameters.use_frameworks >> == "DynamicFrameworks" ]]; then
export USE_FRAMEWORKS=dynamic
fi
if [[ << parameters.use_frameworks >> == "DynamicFrameworks" ]]; then
export USE_FRAMEWORKS=dynamic
fi
cd packages/rn-tester
cd packages/rn-tester
bundle install
bundle exec pod install
- run:
name: "Build rn-tester"
command: |
xcodebuild build \
-workspace packages/rn-tester/RNTesterPods.xcworkspace \
-scheme RNTester-visionOS \
-sdk xrsimulator
bundle install
bundle exec pod install
- run:
name: "Build rn-tester"
command: |
xcodebuild build \
-workspace packages/rn-tester/RNTesterPods.xcworkspace \
-scheme RNTester-visionOS \
-sdk xrsimulator
# -------------------------
# JOBS: Windows
Expand Down
10 changes: 0 additions & 10 deletions .circleci/configurations/test_workflows/testVisionOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,3 @@
matrix:
parameters:
jsengine: ["JSC"]
# - test_ios_rntester:
# run_unit_tests: true
# use_frameworks: "StaticLibraries"
# ruby_version: "2.6.10"
# requires:
# - build_hermes_macos
# matrix:
# parameters:
# architecture: ["NewArch", "OldArch"]
# jsengine: ["Hermes", "JSC"]

0 comments on commit eaf7e94

Please sign in to comment.