Skip to content

Commit

Permalink
Rebuild detox in ios ci
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Sep 6, 2023
1 parent 436bb6c commit 166f16e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,6 @@ jobs:
echo "turbo_cache_hit=1" >> $GITHUB_ENV
fi
- name: Cache cocoapods
if: env.turbo_cache_hit != 1
id: cocoapods-cache
uses: actions/cache@v3
with:
path: |
**/ios/Pods
key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-cocoapods-
- name: Install cocoapods
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
run: |
yarn example pods
env:
NO_FLIPPER: 1

# -- Micro --
- name: Cache Micro
id: cache-micro
Expand Down
1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"start": "react-native start",
"pods": "pod-install --quiet",
"test": "jest",
"rebuild-detox": "detox clean-framework-cache && detox build-framework-cache",
"build:ios": "detox build --configuration ios.sim.debug",
"build:ios-debug": "detox build --configuration ios.sim.debug",
"build:ios-release": "detox build --configuration ios.sim.release",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"build:ios": "cd example/ios && xcodebuild -workspace ReactNativeTrackerExample.xcworkspace -scheme ReactNativeTrackerExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"e2e:android": "yarn example e2e:android",
"e2e:ios": "yarn example e2e:ios",
"bootstrap": "yarn example && yarn install && yarn example pods",
"bootstrap": "yarn example && yarn install && yarn example pods && yarn example rebuild-detox",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
},
"keywords": [
Expand Down

0 comments on commit 166f16e

Please sign in to comment.