Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build workflow #25

Merged
merged 3 commits into from
Feb 12, 2025
Merged

Update build workflow #25

merged 3 commits into from
Feb 12, 2025

Conversation

simonwiles
Copy link
Contributor

This PR updates the build workflow to

  1. use v4 of the GH artifact actions (v3 being deprecated -- see https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/)
  2. build the Linux release artifacts using the ubuntu-20.04 runners instead of ubuntu-latest so as to build against glibc 2.31 for compatibility with a much wider range of Linux distributions.

Note that the CI tasks are running on ubuntu-22.04 for better compatibility with the actions-rs/cargo@v1 action.

Closes #24.

`cargo_check` job fails on `ubuntu-20.04`, but perhaps those steps can be done on `ubuntu-22.04` and we can still build on `ubuntu-20.04 for `glibc` v2.31 support?
@samwho
Copy link
Owner

samwho commented Feb 12, 2025

Thank you for this, Simon!

I'll need to run a new release at some point to pick these changes up proper.

@samwho samwho merged commit 83bbcc3 into samwho:main Feb 12, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building on ubuntu-latest means the binaries don't work on Debian 12 Bookworm
2 participants