File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [ master ]
5+ pull_request :
6+ branches : [ master ]
7+
8+ jobs :
9+ build :
10+ runs-on : macos-latest
11+ strategy :
12+ matrix :
13+ run-config :
14+ - { xcode_version: '10.3', simulator: 'name=iPad (5th generation),OS=12.4' }
15+ - { xcode_version: '10.3', simulator: 'name=iPhone X,OS=12.4' }
16+ - { xcode_version: '11.7', simulator: 'name=iPad Air (3rd generation),OS=13.7' }
17+ - { xcode_version: '11.7', simulator: 'name=iPhone 11 Pro,OS=13.7' }
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+
22+ - name : Install XCPretty
23+ run : gem install xcpretty --no-document --quiet
24+
25+ - name : Show Xcode versions
26+ run : ls -al /Applications/Xcode*
27+
28+ - name : Run a multi-line script
29+ run : |
30+ set -e
31+ export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.run-config['xcode_version'] }}.app/Contents/Developer
32+ env NSUnbufferedIO=YES xcodebuild test -project SwiftiumTestingKit.xcodeproj -scheme STKTestApp -derivedDataPath=${PWD}/DerivedData -destination "platform=iOS Simulator,${{ matrix.run-config['simulator'] }}" | xcpretty -c
33+
You can’t perform that action at this time.
0 commit comments