Closed jcelerier closed 1 month ago
Hey @jcelerier! I'll take a look ASAP. Sounds interesting and strange. I suppose that it is related to Rosetta as you said, but should be checked of course.
Hey @jcelerier!
I checked your report on the macOS-14
runners - 10/10 arm64
. Seems to be related to your project config, but not the runner itself. Default config for Cmake is arm64
.
Example code:
name: Manual workflow
on:
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ macos-14 ]
try: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
runs-on: ${{ matrix.os }}
steps:
- name: Run command ${{ matrix.try }}
run: |
cmake --system-information | grep CMAKE_HOST_SYSTEM_PROCESSOR
Result:
Description
Hello, I am running an action with the image macos-14 which according to README and my build log is ARM64:
Yet from within, my CMake invocation gives me this :
CMake just uses uname and the like to devise this information. How can I make sure I'm actually running on ARM64 ?
Platforms affected
Runner images affected
Image version and build link
20240405.1
failed build : https://github.com/ossia/score/actions/runs/8639881737/job/23686938913
action : https://github.com/ossia/score/blob/master/.github/workflows/mac-builds.yaml#L64
Is it regression?
no
Expected behavior
The apps running on this image should see an ARM64 processor, not an Intel one.
Actual behavior
The apps running on the image see an Intel processor. Maybe they are running under Rosetta ?
Repro steps