Optimise getting list of scenarios #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test PR on iOS 11 | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Build and Test | |
# See available software: https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md | |
runs-on: macos-10.15 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- name: Prepare Xcode | |
run: | | |
ls -n /Applications/ | grep Xcode* | |
sudo xcode-select --switch /Applications/Xcode_10.3.app | |
xcodebuild -version | |
swift --version | |
xcrun simctl list devices 12.4 | |
- name: Boot simulator | |
run: xcrun simctl boot "iPhone 5s" | |
- name: Info | |
run: | | |
pwd | |
xcodebuild -list | |
- name: Build Internal tests iOS 12 | |
run: | | |
xcodebuild clean build -workspace Scenarios.xcworkspace -scheme "Sample-Internal-iOS11" -destination "platform=iOS Simulator,name=iPhone 5s,OS=12.4" | |