From 9f96b82711cc4ce5816343c02eccd5ad907972d3 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Fri, 6 Nov 2026 16:56:34 +0000 Subject: [PATCH] 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. --- .github/workflows/pull_request.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1a9a1781..07d5d3d8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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