axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.47k stars 66 forks source link

Use a more recent version of Ubuntu as the Linux runner #1403

Closed esteve closed 3 weeks ago

esteve commented 3 weeks ago

This PR updates the defaults so that it uses the latest LTS version of Ubuntu 24.04, instead of 20.04 which will be EOL'd next year.

Gankra commented 3 weeks ago

We definitely can't bump up to 24.04 -- we need to be using the oldest possible to ensure people's linux builds run as many machines as possible, per this recent blog post:

https://blog.axo.dev/2024/08/glibc

I am monitoring the 20.04 situation. It will only start its deprecation process when 24.04 becomes the default ("latest") ubuntu runner, but it's still in beta (aiui due to some compat issues they're still hammering out).

When 20.04 is marked as deprecated we'll bump the default runner to 22.04.

If, for whatever reason, you need to Not be on 20.04 Right Now, you can use the custom runner feature.

esteve commented 1 week ago

@Gankra thanks for the explanation, makes total sense to keep with the oldest available Ubuntu distro.