Skip to content

Commit

Permalink
Add ci for swift 5.9, 5.10 and 6.0 on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
iabudiab committed Feb 3, 2025
1 parent a3ebd92 commit 34e2bf5
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,33 @@ jobs:
macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: set -o pipefail && swift build -v
- name: Test
run: set -o pipefail && swift test --enable-test-discovery
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: swift build
- name: Test
run: swift test --enable-test-discovery
linux:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["swift:5.9", "swift:5.10", "swift:6.0"]
container: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: swift build
- name: Test
run: swift test --enable-test-discovery
iOS:
name: Test iOS
runs-on: macos-latest
strategy:
matrix:
destination: ["platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro"]
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme SwiftkubeModel -destination "${{ matrix.destination }}" clean test | xcpretty
linux:
runs-on: ubuntu-latest
container: swift:5.10
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v --enable-test-discovery
- name: Test
run: swift test --enable-test-discovery

0 comments on commit 34e2bf5

Please sign in to comment.