Closed benlorenz closed 8 months ago
This is great, thank you @benlorenz! I'll take a look.
@SaschaMann It would be great if you could take a look too.
cc: @ViralBShah - once this is merged and a new release is made, we can use this in the SparseArrays.jl repo.
@SaschaMann or @IanButterworth If you have time, can you do a post-merge review?
Nice! Is using juliaup
to install Julia more reliable?
I don't think we need the added complexity of juliaup
for this action.
Testing with julia nightly on
macos-14
(aarch64) currently fails with:The filename is slightly wrong and should have
macaarch64
instead ofmac64
, this PR tries to fix this for linux and macOS. I also addedmacOS-14
(for the new M1 runners) to the nightly tests.Note that these URLs are a bit of a guesswork. On the official nightly downloads page they have a different format using a slightly more homogeneous pattern (at least for linux and macos):
x86_64
,i686
andaarch64
in the baseurl instead ofx64
andx86
.macos
instead ofmac
in the baseurl.julia-latest-<osname>-<arch>
Adjusting to this pattern could simplify the code a bit even though it would still need a bunch of extra cases for windows. But I don't really know anything about the stability of all those URLs.Edit: Looks like the new tests on the M1 were successful: https://github.com/julia-actions/setup-julia/actions/runs/7855176535/job/21436628690?pr=220#step:5:15