-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to dist 0.26 and build on Alma 8 (#953)
Update to dist 0.26 and build on Alma 8 Our linux-gnu builds use the default Ubuntu 20.04 runner image. This uses a glibc version more recent than RHEL 8-derived distros, making this copy of the binary unusable on those systems. While CentOS 8 was EOL'd in 2021, RHEL 8 and its clones like Rocky 8 will still be updated until 2029, and we have customers using these distros today. The musl build does work on RHEL 8, but we've encountered some issues with their getaddrinfo(3) implementation that make this alternative a poor experience for users. Update to `dist` v0.26, which moves its configuration out of `Cargo.toml` and into a separate `dist-workspace.toml` file. Also update the linux-gnu target to run in an Alma Linux 8 container using a Python manylinux[0] image intended for building widely compatible binaries. [0] https://github.com/pypa/manylinux
- Loading branch information
1 parent
05596ba
commit af9e0a8
Showing
3 changed files
with
52 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[workspace] | ||
members = ["cargo:."] | ||
|
||
# Config for 'dist' | ||
[dist] | ||
# The preferred dist version to use in CI (Cargo.toml SemVer syntax) | ||
cargo-dist-version = "0.26.1" | ||
# CI backends to support | ||
ci = "github" | ||
# The installers to generate for each app | ||
installers = [] | ||
# Target platforms to build apps for (Rust target-triple syntax) | ||
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] | ||
# Which actions to run on pull requests | ||
pr-run-mode = "plan" | ||
|
||
[dist.github-custom-runners.x86_64-unknown-linux-gnu] | ||
container = { image = "quay.io/pypa/manylinux_2_28_x86_64", host = "x86_64-unknown-linux-musl" } |