Try to save iOS build cache
This commit is contained in:
parent
f4f7d2c9eb
commit
32667ef088
|
@ -474,6 +474,11 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache: *restore-gems-cache
|
- restore_cache: *restore-gems-cache
|
||||||
- restore_cache: *restore-npm-cache-mac
|
- 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: *install-npm-modules
|
||||||
- run: *update-fastlane-ios
|
- run: *update-fastlane-ios
|
||||||
- save_cache: *save-npm-cache-mac
|
- save_cache: *save-npm-cache-mac
|
||||||
|
@ -485,12 +490,22 @@ jobs:
|
||||||
brew tap wix/brew
|
brew tap wix/brew
|
||||||
brew install applesimutils
|
brew install applesimutils
|
||||||
- run:
|
- run:
|
||||||
name: Run Detox Tests
|
name: Build
|
||||||
command: |
|
command: |
|
||||||
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/RocketChatRN/Info.plist
|
/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
|
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/ShareRocketChatRN/Info.plist
|
||||||
yarn detox build --configuration ios.sim.release
|
yarn detox build --configuration ios.sim.release
|
||||||
yarn detox test --configuration ios.sim.release --cleanup --headless
|
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:
|
ios-build-official:
|
||||||
executor: mac-env
|
executor: mac-env
|
||||||
|
|
Loading…
Reference in New Issue