mirror of
https://github.com/apple/swift-crypto
synced 2026-11-22 04:30:39 +00:00
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:
1 parent
281a92df6c
commit
9f96b82711
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user