-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (31 loc) · 888 Bytes
/
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: Swift
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: Swift ${{ matrix.platform }} on ${{ matrix.os }}
runs-on: macos-latest
strategy:
matrix:
platform:
- platform=iPhone 16 Pro Max
- platform=iPhone 16 Pro
os:
- 17.4
- 18.2
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4
# Install any dependencies
- name: Install Dependencies
run: swift package resolve
# Run tests on ${{ matrix.platform }} with iOS ${{ matrix.os }}
- name: Run Tests on ${{ matrix.platform }} (iOS ${{ matrix.os }})
run: |
xcodebuild test \
-scheme 'KKProgressToolbar' \
-destination 'platform=iOS Simulator,name=${{ matrix.platform }},OS=${{ matrix.os }}'