CI: Added Release and Test Workflows for Linux/Android/Mac/Windows #808
+431
−329
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.
Merry Christmas, everyone! 🎄 I noticed the project was missing workflows for testing commits and auto-generating assets for releases. So, to spread some holiday cheer and functionality, I’ve added a few enhancements to the CI/CD pipeline.
Changes Made:
release.yml
andtest.yml
) to build and test the project across various platforms and architectures. These are modified versions of the ripgrep workflows.x86_64
,aarch64
,powerpc64le
,s390x
,riscv64
.x86_64
,aarch64
.x86_64
,aarch64
.x86_64
,aarch64
.release.yml
workflow automatically creates a GitHub release and uploads binaries and archives when a tag with the formatvX.Y.Z
is pushed.Cross.toml
file to define pre-build commands for cross-compilation on non-Linux x86_64 builds.rust-crypto
withaes
andcbc
in my branch of delink. This resolves build failures on macOS and Windows caused by the outdatedrust-crypto
library (last updated 8 years ago). Otherwise, it will fail on every release (tests works fine). I created a PR at delink on Drop rust-crypto support about this issue.Testing:
Here’s a summary of the testing I performed:
Linux Builds:
x86_64
natively on my machine.liblzma-dev
.Windows Builds:
x86_64
version on a virtual machine.aarch64
version is untested.MacOS Builds:
Android Builds:
Links:
These updates aim to enhance the project’s CI/CD pipeline by ensuring better platform support and smoother development workflows. Please take a look and let me know if there’s anything else you’d like adjusted or improved.
Wishing you all a fantastic holiday season! 🎅
Best regards,
Andrew Gigena