From 45bde89d759f4ef78a1236f197f02544f313b68f Mon Sep 17 00:00:00 2001 From: masklinn Date: Sat, 5 Oct 2024 12:36:54 +0200 Subject: [PATCH] Switch macos x86_64 to macos14 The macos12 images [are deprecated and will be decommissioned by december](https://github.com/actions/runner-images/issues/10721), jobs have started triggering warnings and brownouts are planned. In my understanding this means the x86_64 wheels will be cross-compiled from the arm64 runners, but I understand cross compilation works fine. The x86_64 cross compilation is slower than the ARM64 compilation, but on my test project it's faster than the macos13 x86_64 build so that doesn't seem like a massive concern I feel? --- src/ci.rs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/ci.rs b/src/ci.rs index 378bbc3af..3104ccc1a 100644 --- a/src/ci.rs +++ b/src/ci.rs @@ -264,17 +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",