From 97fd57437fc94cfa6b62f2b8f84c50f433534e17 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Fri, 20 Nov 2026 10:17:25 +0000 Subject: [PATCH] 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. --- .github/workflows/pull_request.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ffa7858..6a41e50 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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