Age | Commit message (Collapse) | Author |
|
|
|
* ci: spring cleaning of completions autogen
This commit changes a few things/cleans up stuff:
- Completion and manpage generation now drops the files off in
`./target/tmp/bottom` rather than arbitrarily in the build directory.
This was originally done because I was lazy and just needed it to work
in CI, but it's kinda gross if you want to build the manpages in your
own directory.
- CI was updated to handle this.
- Only run if the `BTM_GENERATE` env var is actually non-empty.
* docs: update for manpage/completion gen
* ci: auto delete autogen comp/manpage dir
* ci: fix incorrect mv for autogen
The mv was too late, should be earlier in the workflow.
* ci: specify shell in autogen delete
* docs: more updates to manpage/comp docs
* ci: unify env vars
* ci: skip autogen on build-msi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Due to the deprecation of Ubuntu 18.04 as a runner target this PR updates the OS to 20.04 (see https://github.com/actions/runner-images/issues/6002), the next supported version of Ubuntu.
|
|
Adds macOS ARM to the build workflow for nightly/release.
|
|
|
|
|
|
Uses a personal action for simpler invocations of cargo/cross commands.
|
|
Try to update to the newest cross version after 0.2.2 had some bugs causing a rollback to 0.2.1 (see #755).
|
|
|
|
|
|
Trying out Github's new issue form for bug reports.
If it doesn't look good or go well I'll revert.
|
|
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
|
|
Locks CI to cross 0.2.1.
|
|
Locks cross in deployment builds to 0.2.1, as 0.2.2 seems to break some things for now.
|
|
|
|
|
|
action-rs' action seems to not be really maintained anymore and
throws some redundant warnings that kinda clog up outputs. As
such, I feel like moving to a more active action is probably worth it.
|
|
Bumps `checkout` calls to v3.
|
|
Unifies nightly and deployment workflows using a shared action yml file to avoid as much duplication. Also updates the download-artifact action to v3.
|
|
|
|
Deletes the generated debian folder in nightly/deploy workflows, as I don't want to cache it.
|
|
Adds .deb generation for aarch64 and armv7 gnu targets in the nightly and deploy workflows.
|
|
|
|
Make a note of release sizes in the nightly/deploy scripts. This is mostly just in case I need to refer to it in the future (mainly for nightly, as the actual generated files are overwritten daily).
|
|
|
|
Adds musl targets to the nightly and deployment workflows.
|
|
|
|
|
|
Moves the rustfmt step into the supported job, to avoid having to wait too long for machine spinup time if they are separate jobs.
|
|
This encompasses features that we want on deployment.
|
|
|
|
|
|
|
|
Disables incremental compilation and debug symbols in CI and other related workflows, since they're not used there at all. Also forces --locked as needed.
|
|
|
|
Super small change, install cargo-llvm-cov with --locked.
|
|
|
|
|
|
This changes various as_ref() calls as needed in order for bottom to successfully build in Rust beta 1.61, as they were causing type inference issues. These calls were either removed or changed to an alternative that does build (e.g. as_slice()).
Functionally, there should be no change.
For context, see:
- https://github.com/ClementTsang/bottom/issues/708
- https://github.com/rust-lang/rust/issues/96074
|
|
Adds --locked to the build process for nightly and deploy workflows.
|
|
|
|
Adds the asset for the manpage to cargo deb config. Also moves the generated manpage file to a .1.gz file. Also, moves back to a build script since that was causing some issues for the automatic Cargo.toml fields detection for manpage and completion generation.
To prevent compilation from happening every time, and only in CI, we use an env var to avoid generation steps.
|
|
Adds manpage generation to the build process, as well as following the xtask concept of adding additional build scripts that only need to run on deploy/nightly as opposed to `build.rs`. Note this doesn't follow the recommended method of using workplaces because I don't really want to shift the entire repo structure just for this.
More on xtask: https://github.com/matklad/cargo-xtask
|
|
Manually install the audit crate as part of the audit CI since it seems to be using too old of a version of Rust.
|