Commit graph

363 commits

Author SHA1 Message Date
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
93b6a5649f
uptick: 0.9.2 (#1202) 2023-06-11 18:22:42 -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
13efb87534
github: update some form headers to remove inline code blocks that were misrendering as quotes 2023-05-18 15:03:20 -04:00
ClementTsang
ccb93223f7
github: update even more packaging issue template wording 2023-05-15 00:17:40 -04:00
ClementTsang
80d4e9c81f
github: update more packaging issue template wording 2023-05-14 16:24:09 -04:00
ClementTsang
3e6f3ad551
github: update packaging issue template wording 2023-05-14 16:08:58 -04:00
Clement Tsang
d019181b2d
uptick: 0.9.1 (#1153) 2023-05-14 00:13:12 -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
Clement Tsang
8777143801
uptick: 0.9.0 (#1143)
* uptick: 0.9.0

* years are hard

* update changelog
2023-05-10 03:17:25 -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
817529b15f
github: remove issue report title template 2023-04-23 20:05:36 -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
3ad0acc2fa
github: update issue template ordering 2023-03-24 20:29: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
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
e7a5f297bc
ci: update the upload artifact action to v3.1.2 (#1054) 2023-03-10 00:00:42 -05:00
ClementTsang
7008f1d520
ci: add some comments regarding codecov to action 2023-02-26 00:03:59 -05: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
bce95c0d48
docs: update requirements.txt and bump to 3.11 (#1011) 2023-02-03 03:25:25 -05:00
Clement Tsang
123e564d6e
ci: update cargo-llvm-cov to 0.5.9 (#1000) 2023-01-24 09:33:57 -05:00
ClementTsang
ea11be9cfc
ci: don't cache coverage in some cases 2023-01-23 19:35:54 -05:00
ClementTsang
00d60d8d45
other: update issue template wording 2023-01-23 02:08:03 -05:00
Clement Tsang
36840e5de9
uptick: 0.8.0 (#996)
* uptick: 0.8.0

* update changelog
2023-01-22 00:53:36 -05:00
Clement Tsang
4870ff365a
refactor: change name of some stuff, add some comments (#992)
* some quick refactoring first

* add todo for bug report template
2023-01-20 00:08:02 -05:00
Clement Tsang
e112e1231e
ci: add schedule to clear PR caches (#973) 2023-01-13 01:45:11 -05:00
Clement Tsang
9a696122c7
ci: try removing cache from build workflow (#972) 2023-01-13 01:15:10 -05:00
Clement Tsang
6e2b276836
ci: remove git hash and nightly tag from deb file name (#970)
* ci: switch deb nightly builds back to the same string as normal

Easier to stay consistent, I guess.

* disable cache for cargo deb

* reenable cache

* nvm
2023-01-12 06:23:36 -05:00
Clement Tsang
fffeb206de
ci: follow .deb naming conventions (#969)
Change the .deb file generation back to following standard naming conventions.
2023-01-12 03:41:15 -05:00
Clement Tsang
7794c0e43a
uptick: 0.7.1 (#959)
* uptick: 0.7.1

* update changelog
2023-01-05 23:30:05 -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
2dfb8c490f
ci: add timeout to build workflow caching (#957)
* ci: add timeout and skip for cache in build workflow

* use for all
2023-01-05 20:38:49 -05:00
Clement Tsang
7c53f088c3
ci: add build hash to nightly builds for version (#951)
This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to.
2023-01-02 15:18:05 -05:00
Clement Tsang
d7e9fd6be0
other: run rustfmt (#949) 2023-01-01 04:35:08 -05:00
Clement Tsang
0adefababf
ci: use a better way of getting branch from tagged builds for CirrusCI (#948)
* ci: use a better way of getting branch from tagged builds for CirrusCI

* add a bit more logging
2023-01-01 03:18:47 -05:00
Clement Tsang
a4b5e38fd2
ci: update action-gh-release dependency (#946) 2023-01-01 00:23:11 -05:00
Clement Tsang
4d5a58c3ec
ci: default to master branch on tag release (#943) 2022-12-31 21:50:17 -05:00
Clement Tsang
0fa11fb5c5
ci: disable cache for cross release gen (#942) 2022-12-31 21:14:18 -05:00
Clement Tsang
46884d48f0
uptick: 0.7.0 (#940) 2022-12-31 17:50:20 -05:00
Clement Tsang
21a21b86c0
ci: clean all workflow caches to script (#936) 2022-12-30 00:56:27 -05:00
Clement Tsang
d8da12ffab
ci: add a timeout for builds and CI (#930) 2022-12-09 03:50:49 -05:00
Clement Tsang
9e4aed7d56
ci: bump cargo deb in CI (#906) 2022-11-20 04:28:23 -05:00
Clement Tsang
31d2e4a746
github: update bug report template OS input 2022-11-16 18:32:14 -05:00
Clement Tsang
a30c49756f
github: update bug report template 2022-11-16 18:30:32 -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
1960c40a30
ci: bump delete-tag-and-release to v0.3.1 (#889) 2022-11-11 19:44:00 -05:00
Clement Tsang
51212bcdfe
ci: switch delete-tag-and-release to personal fork to avoid node16 warning (#888) 2022-11-11 03:23:12 -05:00
Clement Tsang
5649b850a8
ci: update upload-artifact to 3.1.1 to remove set-output warnings (#887) 2022-11-11 02:48:25 -05:00
Clement Tsang
5f849e81e6
ci: add back target as cache key (#879) 2022-11-08 20:01:13 -05:00
Clement Tsang
e1be318177
docs: update usage and config, add blurb in home (#876)
* docs: update usage and config, add blurb in home

* add doc pages to pr template
2022-11-07 23:36:27 -05:00
ClementTsang
442dba84e3
ci: add missing PR pull 2022-11-06 03:46:51 -05:00
Clement Tsang
7ae8e66a3a
ci: add cache clearing to PR merges (#874)
* ci: add cache clearing to PR merges

* some renaming

* small change to force cache

* add manual run option
2022-11-06 03:44:02 -05:00
Clement Tsang
29bc0b67ba
ci: rename deployment folder to scripts (#873) 2022-11-06 03:19:52 -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
568c48eb5f
ci: update workflows with setup-python to v4.3.0 (#858)
Updates any workflows with setup-python to use v4.3 due to node deprecation warnings.
2022-10-29 05:03:19 -04:00
Clement Tsang
8985e6ab67
ci: update comment on what build_release does 2022-10-28 00:37:24 -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
51498e1238
ci: automatically create and get build artifacts from Cirrus CI (#854)
This automatically triggers and grabs the build artifacts for systems that are only supported on Cirrus CI (as of now, FreeBSD and M1 macOS).

* ci: add cirrus build trigger script

* ci: modify build scripts to include cirrus build

* fix some stuff

* update docs

* more fixes
2022-10-27 06:27:04 -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
97ba34e3f4
ci: add token secret to make codecov action more stable (#850)
The codecov action can sometimes fail; this change adds the repo codecov token to use by default to help alleviate this.
2022-10-25 00:03:39 -04:00
ClementTsang
7482e0b495
github: fix feature quest example text 2022-10-24 23:49:21 -04:00
ClementTsang
74288a8836
github: update feature request template 2022-10-24 23:48:13 -04:00
ClementTsang
045fe81af3
github: fix some issue template tags/titles 2022-10-24 18:51:00 -04:00
Clement Tsang
59c214b733
ci: update codecov upload action to 3.1.1 (#848)
Deals with the node12 deprecation warning.
2022-10-21 22:41:05 -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 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