-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (32 loc) · 1.1 KB
/
test_ios11.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"