CI: Default build artifact for riscv64+musl on CICD.yml #10029
Merged
+13
−1
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.
Recently, I've been trying to add riscv64 support to coreutils.
I've already opened a related issue to describe in detail the provision of riscv64 support. You can check the issue for more information.
This PR is slightly different from what's described in the issue. The issue describes local compilation regarding riscv64+glibc, whereas this PR uses cross-compilation for riscv64+musl. For this PR, only a few minor modifications are needed to build coreutils for riscv64, and it runs well on my riscv64 system. Everything ran smoothly in the CI on my fork - you can see the details here. Since I noticed that cross-compilation for arm64 on x86 also skips tests, I haven't added tests for riscv64+musl here either.
For testing on riscv64, please refer to the content in my issue.
If you think testing for riscv64+musl is necessary, feel free to @ me directly - I'd be happy to help complete this part.
Other Info
Co-authored by: nijincheng@iscas.ac.cn;