Commit Graph

212 Commits

Author SHA1 Message Date
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
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
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 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 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 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
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