Run CMake CI job in a matrix by supported Swift version (#500)

### Motivation:

We recently broke downstream builds for some narrow compilation modes
(broken in 5.1.0, fixed in 5.1.1). We would have caught this in our
CMake pipelines, but these only ran on 6.2. Had they run on 6.3 or 6.4,
they would have gated the break. There's no good reason not to run this
CMake CI build in a matrix with all current supported Swift versions.

### Modifications:

Run CMake CI job in a matrix by supported Swift version

### Result:

Two more CI jobs.
This commit is contained in:
Si Beaumont authored and GitHub committed 2026-11-06 16:56:34 +00:00
1 parent 281a92df6c
commit 9f96b82711
1 file changed
+5 -1
+5 -1
View File
@@ -48,6 +48,10 @@ jobs:
cmake-checks:
name: CMake checks
strategy:
fail-fast: false
matrix:
swift_version: ["6.2", "6.3", "6.4"]
uses: apple/swift-nio/.github/workflows/cmake_tests.yml@main
with:
update_cmake_lists_config: >-
@@ -62,7 +66,7 @@ jobs:
{ "name": "CCryptoBoringSSL", "type": "assembly", "exceptions": [ "*/AES/*.swift" ] }
]
}
image: swift:6.2
image: "swift:${{ matrix.swift_version }}"
macos-tests:
name: macOS tests