Skip to content

Commit d30f5da

Browse files
committed
Run tests on Swift 6.1
1 parent 203536a commit d30f5da

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
ruby-version: '3.3.5'
1919
bundler-cache: true
2020
- name: Select Xcode Version
21-
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
21+
run: sudo xcode-select --switch /Applications/Xcode_16.3.app/Contents/Developer
2222
- name: Download visionOS
2323
run: |
2424
sudo xcodebuild -runFirstLaunch
2525
sudo xcrun simctl list
2626
sudo xcodebuild -downloadPlatform visionOS
2727
sudo xcodebuild -runFirstLaunch
2828
- name: Lint Podspec
29-
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0 --allow-warnings # Cocoapods v1.6 now warns about potential naming colisions. We can fix this in the next breaking change.
29+
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.1 --allow-warnings # Cocoapods v1.6 now warns about potential naming colisions. We can fix this in the next breaking change.
3030
spm-16:
3131
name: Build Xcode 16
3232
runs-on: macOS-15
@@ -47,7 +47,7 @@ jobs:
4747
ruby-version: '3.3.5'
4848
bundler-cache: true
4949
- name: Select Xcode Version
50-
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
50+
run: sudo xcode-select --switch /Applications/Xcode_16.3.app/Contents/Developer
5151
- name: Download visionOS
5252
if: matrix.platforms == 'visionOS_2'
5353
run: |
@@ -62,8 +62,8 @@ jobs:
6262
- name: Upload Coverage Reports
6363
if: success()
6464
uses: codecov/codecov-action@v4
65-
spm-16-swift:
66-
name: Swift Build Xcode 16
65+
spm-16-swift-test:
66+
name: Swift Build and Test Xcode 16
6767
runs-on: macOS-15
6868
steps:
6969
- name: Checkout Repo
@@ -73,13 +73,27 @@ jobs:
7373
ruby-version: '3.3.5'
7474
bundler-cache: true
7575
- name: Select Xcode Version
76-
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
76+
run: sudo xcode-select --switch /Applications/Xcode_16.3.app/Contents/Developer
7777
- name: Build and Test Framework
7878
run: xcrun swift test -c release -Xswiftc -enable-testing
79+
spm-16-swift:
80+
name: Swift Build and Test Xcode 16
81+
runs-on: macOS-15
82+
steps:
83+
- name: Checkout Repo
84+
uses: actions/checkout@v4
85+
- uses: ruby/setup-ruby@v1
86+
with:
87+
ruby-version: '3.3.5'
88+
bundler-cache: true
89+
- name: Select Xcode Version
90+
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
91+
- name: Build Framework
92+
run: xcrun swift build -c release
7993
linux:
8094
name: Build and Test on Linux
8195
runs-on: ubuntu-latest
82-
container: swift:6.0.3
96+
container: swift:6.1
8397
steps:
8498
- name: Checkout Repo
8599
uses: actions/checkout@v4

0 commit comments

Comments
 (0)