Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
List simulators during CI run.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Apr 22, 2020
1 parent 02920b1 commit b448a89
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
- run: ruby -v
- run: xcodebuild -version

- run: xcrun simctl list

# Try to restore installed Gems
- restore_cache:
keys:
- v1-gems-{{ checksum "Gemfile.lock" }}
- v1-gems-
- v1-gems-{{ checksum "Gemfile.lock" }}
- v1-gems-
- run: bundle check || bundle install --path=vendor/bundle --jobs 4 --retry 3
- save_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}
Expand All @@ -43,8 +45,8 @@ jobs:
# Try to restore CocoaPods dependencies
- restore_cache:
keys:
- v2-pods-{{ checksum "Podfile.lock" }}
- v2-pods-
- v2-pods-{{ checksum "Podfile.lock" }}
- v2-pods-

- run: bundle exec pod check || bundle exec pod install --verbose

Expand All @@ -56,16 +58,16 @@ jobs:
# Restore the derived data cache (to speed up CI compile times), run the tests, and store the cache
- restore_cache:
keys:
- v1-derived-{{ .Branch }}
- v1-derived-
- run:
- v1-derived-{{ .Branch }}
- v1-derived-
- run:
name: Run tests
command: set -o pipefail && xcodebuild -destination "name=iPad Air 2,OS=11.2" -scheme "Kiosk" -workspace "Kiosk.xcworkspace" -derivedDataPath derived_data build | xcpretty --color
- save_cache:
key: v1-derived-{{ .Branch }}
paths:
- derived_data
- derived_data

# Teardown
# Save the Xcode activity log
- run: find $HOME/Library/Developer/Xcode/DerivedData -name '*.xcactivitylog' -exec cp {} $CIRCLE_ARTIFACTS/xcactivitylog \; || true
Expand Down

0 comments on commit b448a89

Please sign in to comment.