Skip to content

Commit

Permalink
Switch macos x86_64 to macos14
Browse files Browse the repository at this point in the history
The macos12 images [are deprecated and will be decommissioned by december](actions/runner-images#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?
  • Loading branch information
masklinn committed Oct 5, 2024
1 parent b8fb656 commit 7cb0903
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions src/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7cb0903

Please sign in to comment.