Commit Graph

103 Commits

Author SHA1 Message Date
Clement Tsang 566502347e docs: update things to reference 0.11.0 in prep for release (#1765)
* docs: update things to reference 0.11.0 in prep for release

Things still missing:
- Update schema
- Release notes
- Any doc site updates?
- Any GIF updates?
- Take a pass over README?

* update schema with 0.11

* update schema with virt

* update

* update date

* an attempt and failure to update the gif

* bump freebsd

* bump

* I swear

* okay so no freebsd 15, got it
2025-08-06 04:09:39 +00:00
Clement Tsang 4605e88927 ci: replace windows-2019 runner with windows-2022 (#1756)
As it's deprecated and causing problems.
2025-07-17 02:02:38 +00:00
Clement Tsang 9ba7d2c04e deps: bump dependencies (#1742)
* deps: bump root dependencies

* bump lockfile

* didn't need that tempfile dep since it's just for testing

* driveby note
2025-06-12 06:45:42 +00:00
Clement Tsang b2506e5e85 ci: bump freebsd-vm to v1.2.0 (#1730)
* ci: bump freebsd-vm to v1.2.0

* also bump freebsd versions

* oops it was clippy

* fix ci pass check
2025-05-25 20:59:31 -04:00
Clement Tsang 6e31c3aeca ci: bump rust-cache to 2.7.8 (#1728) 2025-05-24 06:58:35 +00:00
Clement Tsang b1be6b2cb9 ci: update the cross version for the Android CI test (#1725) 2025-04-21 03:47:16 -04:00
Clement Tsang 1fe17ddc21 ci: migrate FreeBSD release builds to GHA, update macOS and FreeBSD targets (#1640)
* ci: migrate FreeBSD release builds to GHA

* fix

* ci: bump macOS image from macos-12

* fix

* fix for nightly
2024-11-29 17:41:35 -05:00
Clement Tsang 5b1163d29b ci: clean up CI, update python action + version (#1636)
* ci: clean up CI

* bump python action, also version to 3.12
2024-11-29 20:16:43 +00:00
Clement Tsang bc3032cf10 bug: fix incorrect versions in schemas (#1635) 2024-11-29 04:30:23 +00:00
Clement Tsang 7678c46f42 docs: update README (#1585)
* docs: update README

* also fix ci if
2024-09-06 02:15:00 +00:00
Clement Tsang 2e5000e399 ci: merge mock + init job in nightly (#1584)
* ci: merge mock + init job in nightly

* also slightly bump timeout as a safeguard
2024-09-04 22:56:48 -04:00
Clement Tsang 6c42770b5e ci: fix a few actions (#1583)
A few small things:

- Tweak timeouts
- Disable audit workflow as codecov mostly handles it now
- Fix mock check in nightly
2024-09-05 02:08:01 +00:00
Clement Tsang 97358d09c3 ci: fix CI pass check conditions (#1581)
* ci: fix CI pass check conditions

* also disable test because it's borked for some things
2024-09-03 23:58:07 +00:00
Clement Tsang 1a715206be ci: try using GHA instead of Cirrus for FreeBSD in basic CI (#1577)
Ideally we minimize our usage of Cirrus CI, especially for typical PR CI workflows, since it's a bit cludgy to work with. This method is also more extendable to things like OpenBSD.

Fine for deploys I guess since that's not super frequent and at this point I have that working fairly well when automated + I don't usually have to wait for it.
2024-09-03 08:33:13 +00:00
Clement Tsang c63574dc78 deps: bump some CI actions as of 2024-09-01 (#1576)
* deps: bump some CI actions as of 2024-09-01

* missed one
2024-09-01 21:23:07 -04:00
Clement Tsang 96ed26d87a other: add another test to validate default config (#1553)
* update changelog

* add another lib test to make sure valid integration configs are actually valid

* only test these on default config

* clippy

* add extra CI fail check

* fix windows
2024-08-08 04:44:48 -04:00
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