Improve CI for Linux #10
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changing the build command for the linux-release job to use cross. The linux target gets compiled against
glibc
version2.17
, the lowestrust
>=1.60
itself supports, which should maximize compatibility for many linux distros.If desired, we can also use cross to setup a build using
musl
instead oflibc
. According to my testing, a binary built withmusl
doesn't work on wayland though, because of this issue.I also implemented a simple
cargo check
workflow for every platform, which is currently triggered by a push.At the moment, this is an initial draft. Things I would like to improve further are:
cargo clippy
on pushcargo fmt --check
on pushIf this PR looks like it is going in the right direction, I'd like to continue working on above points, otherwise I'm open to change the PR according to your needs.