Closed Haard30 closed 1 week ago
Hello @Haard30 . Looks like you are trying to build x64 arch
using arm64
runner. Can you specify runs-on: macos-12
instead runs-on: macos-latest
on your workflow and try again?
Hello @Haard30 . Looks like you are trying to build
x64 arch
usingarm64
runner. Can you specifyruns-on: macos-12
insteadruns-on: macos-latest
on your workflow and try again?
Thanks @sergei-pyshnoi . We tried macos-12
and macos-13
and it works perfectly fine. This seems like a regression in macos-latest
. Is the recommendation to use macos-13
for now (in such cases)?
Hey @Haard30!
I'm really sorry, but it's not an image issue, but CodeQL and .NET compatibility with the arm64e
issue itself. Please, report the same story here: https://github.com/github/codeql-action and https://github.com/actions/setup-dotnet.
As a temporary workaround we may recommend to use non-arm versions of macOS.
Description
Recently, our pipelines started failing during
dotnet restore
&dotnet test
step onosx-x64
andosx-arm64
. Here's the full error message:We see similar issues with
Initialize CodeQL
actions as well:We see the same error for both
osx-x64
andosx-arm64
.Consider 2 same runs on 6th March 2024 and 29th April 2024 (same code but one succeeding and other failing)
So far, we have tried following but with not much success:
actions/setup-dotnet
tov4
. (This took us to a further step wheredotnet test
started failing with similar error. https://github.com/AzureAD/microsoft-authentication-cli/actions/runs/8883829023/job/24391532134)actions/checkout
tov4
.github/codeql-action
tov3
.More information:
dotnet-version
:6.0.x
.Please let me know if I can provide any additional information.
Platforms affected
Runner images affected
Image version and build link
https://github.com/AzureAD/microsoft-authentication-cli/actions/runs/8884826546/job/24394808000
Is it regression?
https://github.com/AzureAD/microsoft-authentication-cli/actions/runs/8177668677
Expected behavior
It should work like it did for previous runs: https://github.com/AzureAD/microsoft-authentication-cli/actions/runs/8177668677/job/22362969465
Actual behavior
Failing with failed to load
.dylib
errors.Repro steps