Clement Tsang
e37b159fae
other: remove toolchain, clean up CI ( #1504 )
2024-07-26 00:23:06 -04:00
Clement Tsang
c61de8f09c
ci: bump rust-cache and rust-toolchain ( #1471 )
2024-05-26 06:29:46 -04:00
Clement Tsang
e1daa63a86
ci: migrate macOS ARM builds to use GHA ( #1419 )
...
* ci: migrate macOS ARM builds to use GHA
M1 macOS runners are now available on GHA, so we can use it instead of
CirrusCI for builds/CI.
* bump freebsd
2024-03-03 01:17:14 -05:00
Clement Tsang
a377e93ecc
ci: bump skip-duplicate-actions to v5.3.1 and setup-python to v5.0.0 ( #1401 )
...
* ci: bump skip-duplicate-actions to v5.3.1
* also bump setup-python to v5.0.0
2024-01-28 06:11:42 -05:00
Clement Tsang
7be98344e9
ci: clean up some jobs in CI; bump Rust-related actions ( #1388 )
...
* ci: clean up some jobs in CI; bump Rust-related actions
* also update codecov
* rearrange
* comments
2024-01-15 06:01:04 -05:00
Clement Tsang
f760ce1080
deps: bump non-root dependencies as of 2024-01-15 ( #1387 )
...
* deps: bump non-root dependencies as of 2024-01-15
* also test 1.70 unofficial msrv
2024-01-15 05:06:24 -05:00
Clement Tsang
dd66ae774c
refactor: simplify some config -> constraints code ( #1383 )
...
* refactor: simplify some config -> constraints code
* iteratively progress...
* update bcr; this might need testing since I removed some old proc code
* widget side
* fix battery
* fix widget tests with bandaid for now
The issue was that the calculations assume a certain ratio for CPU
legends.
* add some tests
* bump up
* fix proc drawing issues
So with the proc widget in certain places, there would be a panic during
constraint determination.
Looks like back when I wrote this I made some gross assumptions about
certain things. In particular, the problem here was that the search
added an additional "one" height, so that needs to be accounted for
after we removed the "doubling" code.
* tests
* fix tests
* reorganize tests
* clippy
* fix cross tests not working
* fix builds for android
2024-01-15 04:19:18 -05:00
Clement Tsang
dab4b6c483
other: master -> main ( #1349 )
...
* other: master -> main
I'm so used to using `main` branch now that it's actually kinda annoying
to use `master` for just this repo... so might as well rename it now.
* overzealous change
* wording
* some wording
* allow auto-cancel for tests if not main
2023-12-06 00:16:26 -05:00
Clement Tsang
3a50d7622e
ci: update rust-cache to 2.7.0 ( #1332 )
2023-11-23 23:32:09 -05:00
Clement Tsang
7c14aa2666
ci: bump actions/checkout to v4.1.1 ( #1322 )
2023-11-18 19:15:28 -05:00
Clement Tsang
5d455354dd
bump clap and add nushell/fig completions ( #1300 )
...
* add nushell and fig completion generation
* now bump clap
* bump cargo-action too
* add rust-version key and set to 1.70.0, N-2
2023-09-12 03:36:45 -04:00
Clement Tsang
9ad72bf365
ci: use cargo-action v0.0.4 ( #1207 )
...
* ci: use cargo-action v0.0.4
* comments/labels
2023-06-15 02:05:47 -04:00
Clement Tsang
e602cc7a39
ci: update various dependencies as of 2023-06-11 ( #1201 )
...
Updates:
- actions/checkout
- crazy-max/ghaction-choclatey
- actions/setup-python
2023-06-11 02:16:29 -04:00
Clement Tsang
9ec95a9740
ci: add a build check for aarch64-linux-android ( #1124 )
...
* ci: add a build check for aarch64-linux-android
* appease clippy
* use 1.67.0 for Android due to NDK issue
* remove sparse since it is default now for 1.70 and causes issues with older versions anyway
2023-06-11 02:01:56 -04:00
Clement Tsang
a90c32eb73
ci: update rust-cache to 2.4.0 ( #1174 )
2023-05-27 00:22:29 -04:00
Clement Tsang
2c13683eb3
ci: pin and update some workflow actions ( #1145 )
...
* ci: pin and update some workflow actions
* also update setup-python
* and rust-toolchain
2023-05-11 00:42:39 -04:00
ClementTsang
3239bce86b
ci: update some ci docs
2023-05-07 00:42:35 -04:00
Clement Tsang
bb94355cfc
ci: allow skipped CI workflow to mean success ( #1134 )
2023-05-06 13:59:43 -04:00
Clement Tsang
f237babb58
ci: output a failure in the completion step if a previous step failed ( #1128 )
...
* ci: output a failure in the completion step if a previous step failed
* test
* okay now if I add failure
* yoink
* always
* use needs syntax
2023-05-05 04:28:04 -04:00
Clement Tsang
c8c64b0c80
ci: run build on unsupported platforms instead of check, bump cross version ( #1083 )
2023-04-03 04:45:36 -04:00
Clement Tsang
10b8673c04
ci: bump fkirc/skip-duplicate-actions to v5.3.0 ( #1059 )
2023-03-13 01:02:29 -04:00
Clement Tsang
4f1ac8255f
ci: go back to using default cache key + target, update to 2.2.1 ( #1058 )
...
* ci: go back to using default cache key + target, update to 2.2.1
* fix formatting
2023-03-13 01:01:23 -04:00
Clement Tsang
7f4e762921
ci: use sparse crates.io registries in CI ( #1057 )
2023-03-12 15:43:30 -04:00
Clement Tsang
870c29e6e0
ci: add coverage actions for macOS and windows ( #1030 )
...
* ci: add coverage actions for macOS and windows
* specify target as name
* use flags
2023-02-26 00:01:08 -05:00
ClementTsang
449d735601
ci: specify where part of the CI workflow is
2023-02-22 00:01:28 -05:00
Clement Tsang
1ad38db3a4
ci: reduce CI timeout to 18 minutes ( #1028 )
...
* ci: reduce CI timeout to 15 minutes
* add additional timeouts
* go with 18 minutes for safety
2023-02-21 04:09:19 -05:00
Clement Tsang
2a1c4104fd
other: promote macOS aarch64 to official support ( #1025 )
...
Since I have a macOS M1 laptop to test on now, I think it's a good time
to bump it to be officially supported, especially since it's going
to be the main macOS platform for the foreseeable feature.
2023-02-19 01:12:13 -05:00
Clement Tsang
d62bdc5cab
ci: fix CI concurrency grouping ( #961 )
...
Seems like we want `github.ref`, not `github.event.ref`, which is
blank.
2023-01-05 21:42:41 -05:00
Clement Tsang
d8da12ffab
ci: add a timeout for builds and CI ( #930 )
2022-12-09 03:50:49 -05:00
Clement Tsang
97bf8bf295
ci: fix missing envs in build workflow ( #891 )
...
Made a mistake in not testing properly and broke the build workflow with
missing envs.
2022-11-12 02:29:15 -05:00
Clement Tsang
f41e7cd66d
ci: unify cache keys in actions ( #890 )
...
* ci: unify cache keys in actions
* some docs
* because empty strings are false in JS
* update comment
* fix build cache naming
2022-11-11 23:45:27 -05:00
Clement Tsang
5f849e81e6
ci: add back target as cache key ( #879 )
2022-11-08 20:01:13 -05:00
Clement Tsang
8c3e9669b8
ci: only enable ci cache if not a PR or not a fork ( #872 )
...
* ci: only enable ci cache if not a PR or not a fork
* add to coverage
2022-11-06 02:50:45 -05:00
Clement Tsang
6f95aaee34
ci: remove caching for release building ( #866 )
...
* ci: remove caching for release building
* standardize hyphen across some job names
2022-11-04 04:48:44 -04:00
Clement Tsang
d56b551e39
ci: try only having cancel-in-progress for non-main branch ( #864 )
2022-11-02 01:29:41 -04:00
Clement Tsang
3296feae50
ci: unify CI workflow with one ending step ( #860 )
...
* ci: unify CI workflow with one ending step
* update PR template
2022-10-30 19:20:41 -04:00
Clement Tsang
e3ced72c2f
ci: add skip based on file changes for Cirrus tests ( #859 )
...
* ci: add skip based on file changes for Cirrus tests
2022-10-29 05:37:45 -04:00
Clement Tsang
fec56372bb
ci: use one skip check for CI workflow ( #855 )
...
Use one single skip check job for CI like other workflows.
2022-10-27 22:00:37 -04:00
Clement Tsang
4240a38ced
ci: test cancelling stale actions ( #851 )
...
Use Github Action's concurrency settings to cancel old actions in favour of newer ones.
2022-10-25 01:24:08 -04:00
Clement Tsang
fc90c549ef
ci: update GitHub CI to remove deprecated/unmaintained actions and commands ( #846 )
...
* ci: update rust-cache to 2.0.1
* ci: update dtolnay/rust-toolchain to ba37adf
* ci: update skip-duplicate-actions to v5.2.0
* ci: update ClementTsang/cargo-action to v0.0.3
* ci: update to macos-12
* ci: update ghaction-chocolatey to 2.1.0
* ci: update upload-artifact to v3.1.0
* ci: change from actions-rs to rustsec for audit-check
* ci: stop using actions-rs for builds
* ci: update cirrus to use tlsv1.2 when curling
* ci: disable macOS ARM workflows on GHA since its built on Cirrus
2022-10-20 06:24:04 -04:00
Clement Tsang
530f6bf3b3
ci: add basic Cirrus CI testing for FreeBSD + M1 ( #827 )
...
* ci: add basic Cirrus CI testing for FreeBSD + M1
* add env vars
* remove curl installation from macos script
* add caching
2022-10-20 01:27:14 -04:00
ClementTsang
df13d12551
Revert "ci: add basic Cirrus CI testing for FreeBSD + M1 ( #826 )"
...
This reverts commit 577165292c7f58d8ca10c56f787180f690136fd0.
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
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
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
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
42909dba35
ci: fix missing aarch64 build ( #738 )
2022-05-25 17:06:38 -04:00