Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aporat authored Feb 8, 2025
1 parent f22cbd1 commit 47798a2
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,17 @@ on:

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

- iOS
platform-version:
- ^15
- ^16
- ^17
runs-on: macos-latest
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 }}'
- uses: mxcl/xcodebuild@v3
with:
platform-version: ${{ matrix.platform-version }}
platform: ${{ matrix.platform }}

0 comments on commit 47798a2

Please sign in to comment.