Unify Releases Across Operating Systems#1957
Conversation
|
On the plus-side, it's shorter. On the "minus-side" I couldn't test it. 😅 |
|
Thank you for addressing the issue. I would really like to test it before blindly merging it. 😅 And it also should be possible to do so by manually triggering the workflow on a non-tagged version. Maybe we would have to temporarily update the If you don't find the time to do so, you can let me know and I'll try do it. It's just that I don't want to debug the workflow during the next release but before merging this PR. |
|
After rebasing onto master, I noticed that the goal of this PR has already been achieved: the current master already has a unified |
|
Will close for now. I don't think there's anything that needs to be done here. As mentioned, we already have a matrix job. |
|
Erm, sorry, diffed against the wrong branch. This wasn't fixed in |
This merges the Windows/macOS/Linux build into one job in the release workflow. It follows the same principle as the release build for ripgrep. Fixes #1875
397d89d to
e6d9480
Compare
|
OK, this should be good to go. Thanks, Thomas for the suggestion to run a "test release." This way, I uncovered an issue with our new file-limits support (#2106). On Windows, I got error[E0432]: unresolved imports `rlimit::Resource`, `rlimit::getrlimit`
--> lychee-bin\src\main.rs:143:18
|
143 | use rlimit::{Resource, getrlimit, increase_nofile_limit};
| ^^^^^^^^ ^^^^^^^^^ no `getrlimit` in the root
| |
| no `Resource` in the root
For more information about this error, try `rustc --explain E0432`.
error: could not compile `lychee` (bin "lychee") due to 1 previous error
Caused by:
process didn't exit successfully:Inside the This means This run shows that all binaries build successfully: https://github.com/lycheeverse/lychee/actions/runs/23962659010/job/69895885187 actions/upload-release-asset@v1 is deprecated and relies on older, outdated versions of Node.js. The |
thomas-zahner
left a comment
There was a problem hiding this comment.
Thanks for the PR, looks good! I've left a few comments & questions. Just don't forget to remove the temporary changes you intend to revert before merging.
- Remove test-run scaffolding (tag_name/upload_url fallbacks and repo guard on get_release) now that the workflow is verified. - Add a native strip step for x86_64-unknown-linux-gnu, which does not go through cross and was not being stripped. - Consolidate macOS DMG upload into the single 'Upload release archive' step by appending the DMG to ASSET/ASSET_SUM instead of using a separate upload step with dedicated variables. - Document why only aarch64-macos gets a DMG.
|
Failing test is the flaky WayBackMachine test again... |
@katrinafyi Addressed this in 434ae96 :) Thanks again for the PR, I'll test this with the new release |
|
Seems to have worked! 🎉 |
This merges the Windows/macOS/Linux build into one job in the release workflow. It follows the same principle as the release build for ripgrep.
Fixes #1875