Try to save iOS build cache
This commit is contained in:
parent
f4f7d2c9eb
commit
32667ef088
|
@ -474,6 +474,11 @@ jobs:
|
|||
- checkout
|
||||
- restore_cache: *restore-gems-cache
|
||||
- restore_cache: *restore-npm-cache-mac
|
||||
- restore_cache:
|
||||
keys:
|
||||
- >-
|
||||
ios-build-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ .Environment.CACHE_VERSION }}
|
||||
name: Restoring iOS Build caches
|
||||
- run: *install-npm-modules
|
||||
- run: *update-fastlane-ios
|
||||
- save_cache: *save-npm-cache-mac
|
||||
|
@ -485,12 +490,22 @@ jobs:
|
|||
brew tap wix/brew
|
||||
brew install applesimutils
|
||||
- run:
|
||||
name: Run Detox Tests
|
||||
name: Build
|
||||
command: |
|
||||
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/RocketChatRN/Info.plist
|
||||
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/ShareRocketChatRN/Info.plist
|
||||
yarn detox build --configuration ios.sim.release
|
||||
yarn detox test --configuration ios.sim.release --cleanup --headless
|
||||
- save_cache:
|
||||
key: >-
|
||||
ios-build-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ .Environment.CACHE_VERSION }}
|
||||
name: Saving iOS Build Cache
|
||||
paths:
|
||||
- ios/build/Build
|
||||
- run:
|
||||
name: Run tests
|
||||
command: |
|
||||
yarn detox test --configuration ios.sim.release --cleanup --headless
|
||||
|
||||
ios-build-official:
|
||||
executor: mac-env
|
||||
|
|
Loading…
Reference in New Issue