mirror of
https://github.com/apple/swift-asn1
synced 2026-11-22 04:10:39 +00:00
Run CMake CI job in a matrix by supported Swift version (#141)
### Motivation: The CMake CI job in this repo is running using `swift:6.0-jammy`, and installs CMake from the distro package manager. It doesn't get a very new CMake and is blocking #140. We are also missing coverage of our actual supported Swift versions (currently 6.2 through 6.4). ### Modifications: Run CMake CI job in a matrix by supported Swift version ### Result: Replace the CMake CI job running on 6.0 image, with a matrix running on 6.2, 6.3, and 6.4 images.
This commit is contained in:
1 parent
12b0abc194
commit
97fd57437f
1 file changed
+5
@@ -52,6 +52,10 @@ jobs:
|
||||
|
||||
cmake-lists:
|
||||
name: Check cmake lists
|
||||
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: >-
|
||||
@@ -60,6 +64,7 @@ jobs:
|
||||
{ "name": "SwiftASN1", "type": "source", "exceptions": [] }
|
||||
]
|
||||
}
|
||||
image: "swift:${{ matrix.swift_version }}"
|
||||
|
||||
macos-tests:
|
||||
name: macOS tests
|
||||
|
||||
Reference in new issue
Block a user