Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swift 6 to CI #802

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request: {}
env:
swift_package_resolve: swift package resolve
swift_build: swift build
swift_test: swift test
periphery_scan: ./.build/debug/periphery scan --quiet --clean-build
cache_version: 1
Expand All @@ -14,8 +15,10 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: ["15.4", "15.2"]
xcode: ["16.1", "15.4", "15.2"]
include:
- xcode: "16.1"
macos: macOS-14
- xcode: "15.4"
macos: macOS-14
- xcode: "15.2"
Expand Down Expand Up @@ -44,6 +47,8 @@ jobs:
- name: Resolve dependencies
if: steps.cache-resolved-dependencies.outputs.cache-hit != 'true'
run: ${{ env.swift_package_resolve }}
- name: Build
run: ${{ env.swift_build }}
- name: Scan
run: ${{ env.periphery_scan }} --strict
- name: Test
Expand All @@ -52,8 +57,11 @@ jobs:
strategy:
fail-fast: false
matrix:
swift: ["5.10", "5.9"]
swift: ["6.0-nightly", "5.10", "5.9"]
include:
- swift: "6.0-nightly"
container: "swiftlang/swift:nightly-6.0-jammy"
cache-version: 1
- swift: "5.10"
container: "swift:5.10"
cache-version: 1
Expand Down Expand Up @@ -83,6 +91,8 @@ jobs:
- name: Resolve dependencies
if: steps.cache-resolved-dependencies.outputs.cache-hit != 'true'
run: ${{ env.swift_package_resolve }}
- name: Build
run: ${{ env.swift_build }}
- name: Scan
run: ${{ env.periphery_scan }}
- name: Test
Expand Down
Loading