julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

architecture for macos-14 which is now macos-latest #241

Closed ViralBShah closed 2 months ago

ViralBShah commented 4 months ago

Describe the bug macos-latest runners are now macos-14 and aarch64. In actions, these download julia for x64.

To Reproduce See: https://github.com/JuliaStats/Distributions.jl/pull/1856#issuecomment-2119350142

Expected behavior aarch64 platforms for macos runners should only download the aarch64 binaries or fail.

DilumAluthge commented 4 months ago

Similar to #240

fonsp commented 3 months ago

Could we do something about this? All MacOS Julia 1.6 tests are failing now... Maybe we could just silently download the x86 binary?

DilumAluthge commented 3 months ago

We should at least print a good error message.

DilumAluthge commented 3 months ago

Let me take a look at this.

DilumAluthge commented 3 months ago

Here is my PR to improve the error logging in this situation: #261

Here is a Discourse post to raise awareness (and provide instructions for fixing the error): https://discourse.julialang.org/t/how-to-fix-github-actions-ci-failures-with-julia-1-6-or-1-7-on-macos-latest-and-macos-14/117019