Commit Graph

249 Commits

Author SHA1 Message Date
Clement Tsang
cce835b752
Run cargo wix init (#1468)
* ci: run cargo wix init

* remove wix init call
2024-05-11 21:18:09 -04:00
Clement Tsang
a15ef63669
ci: bump cargo-deb to 2.2.0 (#1466) 2024-05-08 20:48:50 -04:00
Clement Tsang
d515c03ec7
ci: forgot to add if statement for nightly skip check (#1464) 2024-05-07 02:13:11 -04:00
Clement Tsang
bcc89170a6
ci: add skip for nightly build (#1462) 2024-05-05 20:42:32 -04:00
Clement Tsang
d53725bbfc
ci: try attestations for binaries (#1455)
* ci: try attestations for binaries

* add additional attestation steps
2024-05-03 11:37:16 -04:00
Clement Tsang
8919ae37d7
ci: bump action-gh-release to 2.0.1 (#1426)
Update resolves Node deprecation warnings from GHA.
2024-03-09 22:24:14 -05:00
Clement Tsang
32e04778dd
ci: bump cargo-deb version to 2.1.0 (#1424) 2024-03-09 14:23:59 -05: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
d604f72aac
ci: update sha for auto winget PR action (#1418) 2024-03-02 21:26:13 -05:00
Clement Tsang
0b92679e16
other: add v1 schema + versioning + tests (#1407)
* other: add v1.0 schema

* add tests, rename some files for consistency
2024-02-04 06:26:24 -05:00
Clement Tsang
59b7650999
ci: bump choco action to v3.0.0 and replace release deletion action (#1402)
* ci: bump choco action to v3.0.0 and replace release delete action with gh

* back to action since it isn't a git repo

* let's test if gh works fine if I pull repo
2024-01-28 19:37:31 -05:00
Clement Tsang
db9e97a0df
ci: update upload-artifact to v4.3.0 and download-artifact to v4.1.1 (#1399)
* ci: update upload-artifact to v4.3.0 and download-artifact to v4.1.1

* fix rpm/deb

* add exception for quay; idk what I'll do once node support is gone

* fix broken script

* fix download

* migrate 2-17 to cirrus to avoid node deprecation warnings

* prevent cirrus cancellation

* update cache to work with linux

* simplify cache

* update some comments

* add timeouts
2024-01-28 18:11:05 -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
81e77c02a8
ci: add logic to retry codecov upload (#1391) 2024-01-15 15:40:14 -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
300f66700e
ci: downgrade to checkout v3 when building releases in non-GH containers (#1352) 2023-12-06 17:36:39 -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
bbeb43ef77
ci: update cargo-llvm-cov to 0.5.37 (#1331) 2023-11-23 23:29:42 -05:00
Clement Tsang
7c14aa2666
ci: bump actions/checkout to v4.1.1 (#1322) 2023-11-18 19:15:28 -05:00
Yuri Astrakhan
a6200640b9
chore: run spell and grammar checkers
* Chore: Run an spell cheker, and gramar cheker

* small revert

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-11-15 03:03:48 -05:00
Clement Tsang
4174012b8f
ci: test if building with musl on Rust > 1.71 works again (#1302)
* ci: test if building with musl on Rust > 1.71 works again

* use cross instead?

* specify cross version to fix build issue

* Update build_releases.yml
2023-09-24 03:11:08 -04: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
f38fbf0d8b
ci: add .desktop file (#1296)
* ci: add .desktop file

* move to a separate desktop folder

* also skip one more file
2023-09-06 19:12:28 -04:00
Clement Tsang
44cc00564a
ci: pin musl to 1.71.0 for now when building releases (#1282) 2023-08-24 23:21:03 -04:00
Clement Tsang
b392f4b706
ci: update release template (#1231) 2023-06-28 05:08:33 -04:00
Clement Tsang
6ad555db58
ci: fix winget package identifier (#1225) 2023-06-26 01:26:01 -04:00
Clement Tsang
6ee810f007
ci: clean + fix post-release and deployment actions (#1224) 2023-06-25 17:35:39 -04:00
Clement Tsang
9fa5f3c4e9
ci: fix winget action 2023-06-25 15:37:15 -04:00
Clement Tsang
22d0d49984
ci: add checks to ensure post-release never runs on main/master/nightly (#1214) 2023-06-18 20:13:24 -04:00
Clement Tsang
45840d45c5
ci: add an action to automatically publish a winget PR on release (#1213) 2023-06-18 04:00:10 -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
6c7635038d
ci: add RPM package generation (#1206)
* ci: add RPM package generation

* edit container

* fix install
2023-06-15 00:26:54 -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
9cea3e1a8d
ci: add cache to audit job (#1175)
* ci: add cache to audit job

* always cache, and skip target

* delete registry too
2023-05-27 00:59:16 -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
331ed47387
github: update deploy body template 2023-05-10 03:35:54 -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
ClementTsang
240075ab4a
ci: clarify clear cache instructions 2023-05-04 01:22:28 -04:00
Clement Tsang
016fa1e19b
ci: run wf cache clear script twice with delays (#1093)
* ci: run wf cache clear script twice with delays

* reduce
2023-04-11 04:39:28 -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
827ef0eec4
github: change workflow cache clear to weekly 2023-04-02 17:36:51 -04:00
Clement Tsang
61fec230fc
ci: add musl build targets for .deb generation (#1061)
* ci: add musl build targets for .deb generation

* add missing container

* try to fix musl rename condition
2023-03-13 03:25:40 -04:00
Clement Tsang
10b8673c04
ci: bump fkirc/skip-duplicate-actions to v5.3.0 (#1059) 2023-03-13 01:02:29 -04:00