Skip to content

Commit

Permalink
build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Oct 5, 2023
1 parent 53ee5d9 commit 322172b
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,35 @@ on:

jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
name: Platform ${{ matrix.platform }} on Xcode ${{ matrix.xcode }} + ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
platform:
- macOS
- watchOS
- tvOS
- iOS
include:
- swift: "5.9"
- xcode: ^13
os: "macos-12"
- xcode: ^14
os: "macos-13"
- swift: "5.8"
- xcode: ^15
os: "macos-13"
- swift: "5.7"
os: "macos-12"
- swift: "5.6"
os: "macos-12"
steps:
- uses: actions/checkout@v4

- uses: swift-actions/setup-swift@v1
- uses: mxcl/xcodebuild@v1
with:
swift-version: ${{ matrix.swift }}
xcode: ${{ matrix.xcode }}
platform: ${{ matrix.platform }}
action: build
configuration: release

- uses: mxcl/xcodebuild@v1
with:
platform: iOS
action: build
xcode: ${{ matrix.xcode }}
platform: ${{ matrix.platform }}
action: test
configuration: release

0 comments on commit 322172b

Please sign in to comment.