-
Notifications
You must be signed in to change notification settings - Fork 12
38 lines (36 loc) · 1.1 KB
/
ci.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
name: AliyunpanSDK CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
iOS:
name: ${{ matrix.name }}
runs-on: ${{ matrix.runsOn }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=17.0,name=iPhone 14 Pro"
name: "iOS 17.0"
xcode: "Xcode_15.0"
runsOn: macOS-13
- destination: "OS=16.4,name=iPhone 14 Pro"
name: "iOS 16.4"
xcode: "Xcode_14.3.1"
runsOn: macOS-12
- destination: "OS=15.5,name=iPhone 13 Pro"
name: "iOS 15.5"
xcode: "Xcode_14.3.1"
runsOn: macOS-12
steps:
- uses: actions/checkout@v4
- name: Install xcpretty
run: gem install xcpretty
- name: ${{ matrix.name }}
run: set -o pipefail && xcodebuild clean test -project AliyunpanSDK.xcodeproj -scheme AliyunpanSDK -sdk iphonesimulator -destination "${{ matrix.destination }}" 2>&1 | xcpretty