Stream: helpdesk (published)

Topic: Build Julia in GHA


view this post on Zulip Eric Hanson (Apr 24 2022 at 19:06):

I wonder if it would be feasible to build Julia from a branch for use in CI with GitHub actions, e.g. the release-1.7.3 branch. Has anyone done this? My use wouldn’t be for every PR, but rather to check main against upcoming releases that don’t have binaries yet, triggering the workflow manually.

view this post on Zulip Sascha Mann (Apr 24 2022 at 23:04):

No idea if it still works but: https://github.com/julia-actions/build-julia

That said, for release branches you can use the release branch nightlies with 1.7-nightly, which points at https://julialangnightlies-s3.julialang.org/linux/x64/1.7/julia-latest-linux64.tar.gz

view this post on Zulip Eric Hanson (Apr 25 2022 at 00:59):

Ooh, that would be great. Though I see NoSuchKey when I try to go to that (or the same with bin/linux), unfortunately. Maybe there aren't nightlies built for some reason?

view this post on Zulip Sascha Mann (Apr 25 2022 at 01:18):

I screwed up when copying the URL. https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.7/julia-latest-linux64.tar.gz is available for me but I haven't verified what version it downloads.

view this post on Zulip Rik Huijzer (Apr 26 2022 at 21:10):

You can actually download the artifacts from the buildkite job! Much easier :grinning_face_with_smiling_eyes:

view this post on Zulip Sascha Mann (Apr 27 2022 at 08:16):

Rik Huijzer said:

You can actually download the artifacts from the buildkite job! Much easier :grinning_face_with_smiling_eyes:

If you use 1.7-nightly as the input to setup-julia in CI, it will automatically fetch those release nightlies that are available from the URL above. That lets you run CI on the release-x.y.z branches without any extra work.

view this post on Zulip Rik Huijzer (Apr 28 2022 at 08:16):

Aaaah sorry, I misunderstood the question then


Last updated: Oct 02 2023 at 04:34 UTC