diff --git a/src/ci.rs b/src/ci.rs index 378bbc3af..7c799111f 100644 --- a/src/ci.rs +++ b/src/ci.rs @@ -264,18 +264,13 @@ jobs:\n", target, }) .collect(), - Platform::Macos => { - vec![ - MatrixPlatform { - runner: "macos-12", - target: "x86_64", - }, - MatrixPlatform { - runner: "macos-14", - target: "aarch64", - }, - ] - } + Platform::Macos => ["x86_64", "aarch64"] + .into_iter() + .map(|target| MatrixPlatform { + runner: "macos-14", + target, + }) + .collect(), Platform::Emscripten => vec![MatrixPlatform { runner: "ubuntu-latest", target: "wasm32-unknown-emscripten",