runner icon indicating copy to clipboard operation
runner copied to clipboard

Builds requesting runs-on `macos-14` and getting `macos-14-arm64`

Open leighmcculloch opened this issue 10 months ago • 4 comments

Describe the bug

Builds requesting runs-on macos-14 and getting macos-14-arm64.

To Reproduce Steps to reproduce the behavior:

  1. Run a job that requests macos-14 or macos-latest

Expected behavior That the workflow will run macos x86_64.

Runner Version and Platform

Version of your runner? 20240415.6

OS of the machine running the runner? macOS

What's not working?

Screenshot 2024-04-24 at 9 28 59 pm

Ref: https://github.com/stellar/binaries/actions/runs/8815749910/job/24198334002?pr=20

leighmcculloch avatar Apr 24 '24 11:04 leighmcculloch

We actually have the same problem with macos-latest

https://github.com/QuTech-Delft/quantuminspire2/actions/runs/8844984860/job/24288018010

koffie avatar Apr 26 '24 16:04 koffie

We seem to be running into problems here https://github.com/aws-amplify/amplify-backend/actions/runs/8852791618/job/24312497620 .

The summary is that:

  1. A job installs dependencies on macos-latest which now resolves to ARM64 and OSX14. Some dependencies come with arch dependent binaries (we're on NodeJS). This job caches result of installation.
  2. Another job runs on macos-latest-xl which still resolves to OSX12 and runs on Intel. It restores previously cached artifacts that came from ARM64 worker. Which leads to runtime failures.

When is macos-latest-xl planned to match macos-latest with respect to architecture and OSX version?

sobolk avatar Apr 26 '24 18:04 sobolk

Same issue here: https://github.com/rust-lang/rust-bindgen/actions/runs/8807570984/job/24315825391

macos-latest is running on an arm machine.

pvdrz avatar Apr 26 '24 21:04 pvdrz

According to this post by GitHub in January the macos-14 runner is exclusively arm64:

  • https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/

leighmcculloch avatar Apr 27 '24 12:04 leighmcculloch