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

Use new musl cross build Docker images #702

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Oct 16, 2024

From benfred/rust-musl-cross#2

Will unblock various dependency upgrades since we won't be stuck on an old toolchain version.

Comment on lines -92 to +97
target: [i686-musl, armv7-musleabihf, aarch64-musl, x86_64-musl]
target:
[
i686-unknown-linux-musl,
armv7-unknown-linux-musleabihf,
aarch64-unknown-linux-musl,
x86_64-unknown-linux-musl,
Copy link
Contributor Author

@zanieb zanieb Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When published upstream, these tags are shortened. I didn't bother with that in the fork.

Comment on lines -104 to +110
maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET --features unwind
maturin build --release -o dist --target ${{ matrix.target }} --features unwind
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that the tag matches the target, we can just use it directly which is a little clearer for someone not familiar with the container environment.

@zanieb zanieb marked this pull request as ready for review October 16, 2024 03:53
Copy link
Owner

@benfred benfred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this change - looks great!

@benfred benfred merged commit 3b6f783 into benfred:master Oct 16, 2024
70 checks passed
benfred added a commit to benfred/remoteprocess that referenced this pull request Oct 28, 2024
Similar to benfred/py-spy#702,
this upgrades GHA to use newer docker images for CI.
benfred added a commit to benfred/remoteprocess that referenced this pull request Oct 28, 2024
Similar to benfred/py-spy#702,
this upgrades GHA to use newer docker images for CI.
@benfred benfred added the ci label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants