ClementTsang
df13d12551
Revert "ci: add basic Cirrus CI testing for FreeBSD + M1 ( #826 )"
...
This reverts commit 577165292c
.
2022-10-12 17:54:02 -04:00
Clement Tsang
577165292c
ci: add basic Cirrus CI testing for FreeBSD + M1 ( #826 )
2022-10-12 17:45:45 -04:00
Clement Tsang
cf95f2c2a6
github: update bug report desc for non-release
2022-09-23 00:09:48 -04:00
Clement Tsang
14808b3a2e
ci: completion/manpage generation script spring cleaning ( #795 )
...
* 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
2022-08-30 18:25:16 -04:00
Clement Tsang
28b5095770
github: update wording for packaging issues
2022-08-24 10:01:20 -04:00
Clement Tsang
0ec3e5afbb
github: update packaging issue template ( #791 )
2022-08-23 19:29:30 -04:00
Clement Tsang
3c21147509
github: update version placeholder in bug template
2022-08-17 23:04:22 -04:00
Clement Tsang
80d659bf8c
github: update issue link and wording
2022-08-17 23:03:48 -04:00
Clement Tsang
c01e3bca71
github: add note on coverage/tests in PR template
2022-08-17 11:30:13 -04:00
Clement Tsang
79a0f20825
github: tweak wording of PR
2022-08-14 18:17:01 -04:00
Clement Tsang
2e0771d483
ci: update release build OS to ubuntu 20.04 ( #780 )
...
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.
2022-08-13 12:14:51 -04:00
Clement Tsang
fcb8cac0d5
ci: add ARM macOS to build workflow ( #779 )
...
Adds macOS ARM to the build workflow for nightly/release.
2022-08-13 11:53:07 -04:00
Clement Tsang
4e2a25ac68
github: update PR template wording for testing
2022-08-13 11:38:50 -04:00
Clement Tsang
b62b93f551
github: update some wording in issue template
2022-08-09 14:23:17 -04:00
Clement Tsang
510aa5c404
ci: try simpler cross/cargo action for builds and tests ( #767 )
...
Uses a personal action for simpler invocations of cargo/cross commands.
2022-07-16 00:34:18 -04:00
Clement Tsang
e33603d8ee
ci: try to update cross to 0.2.4 ( #764 )
...
Try to update to the newest cross version after 0.2.2 had some bugs causing a rollback to 0.2.1 (see #755 ).
2022-07-12 05:22:15 -04:00
ClementTsang
9116f5277f
github: fix some styling with the bug report form
2022-06-27 20:33:39 -04:00
ClementTsang
f0ec5a5f5f
github: fix some issues with the bug report form
2022-06-27 20:30:28 -04:00
Clement Tsang
f0ace2588e
github: try new issue form template ( #758 )
...
Trying out Github's new issue form for bug reports.
If it doesn't look good or go well I'll revert.
2022-06-27 20:27:47 -04:00
Clement Tsang
4ca68b621d
ci: fix missing target in tests ( #757 )
...
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
2022-06-27 01:36:45 -04:00
Clement Tsang
6468f8af58
ci: lock cross to 0.2.1 on CI as well ( #756 )
...
Locks CI to cross 0.2.1.
2022-06-25 23:03:14 -04:00
Clement Tsang
89f7705e21
deployment: force usage of cross 0.2.1 for now ( #755 )
...
Locks cross in deployment builds to 0.2.1, as 0.2.2 seems to break some things for now.
2022-06-25 22:22:30 -04:00
Clement Tsang
2912859e52
ci: bump cargo-llvm-cov to 0.4.8 ( #754 )
2022-06-24 23:03:44 -04:00
ClementTsang
d0cb61a4c2
docs: some small updates to README and issue templates
2022-06-05 18:29:14 -04:00
Clement Tsang
0c648ed14a
ci: try moving to rust-toolchain ( #745 )
...
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.
2022-06-02 18:04:51 -04:00
Clement Tsang
7e1a0a9744
ci: bump checkout to v3 ( #744 )
...
Bumps `checkout` calls to v3.
2022-06-02 15:05:43 -04:00
Clement Tsang
6745736622
deployment: unify build release action between nightly/deploy ( #743 )
...
Unifies nightly and deployment workflows using a shared action yml file to avoid as much duplication. Also updates the download-artifact action to v3.
2022-06-02 05:10:17 -04:00
Clement Tsang
dae3c07cd7
ci: update cargo_llvm_cov to 0.4.4 ( #741 )
2022-05-31 10:06:31 -04:00
Clement Tsang
54d042ac56
deployment: deletes the debian folder in case of unwanted leftover files ( #740 )
...
Deletes the generated debian folder in nightly/deploy workflows, as I don't want to cache it.
2022-05-28 17:40:33 -04:00
Clement Tsang
96d5b9b87d
deployment: add aarch64/armv7 gnu .deb generation ( #739 )
...
Adds .deb generation for aarch64 and armv7 gnu targets in the nightly and deploy workflows.
2022-05-28 16:14:25 -04:00
Clement Tsang
42909dba35
ci: fix missing aarch64 build ( #738 )
2022-05-25 17:06:38 -04:00
Clement Tsang
7fb9e00251
ci: note release sizes in nightly/deploy ( #733 )
...
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).
2022-05-18 19:09:50 -04:00
Clement Tsang
98e7fbbeab
ci: add back paths field to coverage workflow ( #728 )
2022-05-07 19:57:56 -04:00
Clement Tsang
460869f281
deployment: add arm musl targets ( #726 )
...
Adds musl targets to the nightly and deployment workflows.
2022-05-07 15:53:39 -04:00
ClementTsang
4fac7ab4fa
github: fix typo in packaging issue template
2022-05-04 14:48:10 -04:00
Clement Tsang
dd9111467a
github: update packaging issue wording
2022-05-03 19:07:10 -04:00
Clement Tsang
9882a9bd08
ci: move cargo fmt step into supported job ( #722 )
...
Moves the rustfmt step into the supported job, to avoid having to wait too long for machine spinup time if they are separate jobs.
2022-05-01 17:53:08 -04:00
ClementTsang
715af44efc
ci: create deploy feature; test in CI
...
This encompasses features that we want on deployment.
2022-05-01 17:30:20 -04:00
ClementTsang
6e2ea8eeda
ci: remove caching step from cargo fmt check
2022-05-01 17:12:20 -04:00
ClementTsang
8cc361e443
ci: clean up ci workflow
2022-05-01 16:56:40 -04:00
ClementTsang
a9da449cef
ci: update rust-cache to 1.4.0
2022-05-01 15:47:30 -04:00
Clement Tsang
e646a76630
ci: disable debug symbols and incremental in CI, force locked #719
...
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.
2022-04-29 18:15:49 -04:00
Clement Tsang
0d1b6a6d33
github: specify in the bug report that one should install from crates/bottom
2022-04-28 14:52:27 -04:00
Clement Tsang
b9a356f581
ci: lock cargo-llvm-cov install in script ( #715 )
...
Super small change, install cargo-llvm-cov with --locked.
2022-04-28 01:39:58 -04:00
ClementTsang
19430a1a49
ci: reduce code cov skip conditions
2022-04-28 01:18:27 -04:00
ClementTsang
a6933d89b3
ci: try using llvm-cov instead of tarpaulin
2022-04-28 00:31:58 -04:00
Clement Tsang
d43bd6147d
bug: change as_ref() to build in Rust beta 1.61.0 ( #711 )
...
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
2022-04-27 18:34:49 -04:00
Clement Tsang
194a769b1d
ci: use locked builds in deploy and nightly ( #700 )
...
Adds --locked to the build process for nightly and deploy workflows.
2022-04-10 01:11:10 -04:00
Clement Tsang
44e6923a5d
ci: update cargo deb to 1.37 ( #699 )
2022-04-08 17:45:18 -04:00
Clement Tsang
f2b8b4e842
other: add manpage file to cargo deb config, move back to build script ( #693 )
...
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.
2022-03-11 06:45:05 -05:00