Commit graph

26 commits

Author SHA1 Message Date
Clement Tsang
b58d982a31
ci: some more cirrus release tweaks (#1531)
* ci: better cirrus release

* add cancellation

* limit number of concurrent cargo jobs

* update test skip, clean up, clean tasks
2024-08-02 00:49:53 -04:00
Clement Tsang
eaff5d009a
ci: clean up cirrus CI (#1530)
* ci: try adding auto cancellation back to cirrus tasks

* tweak timeout

* some renaming

* modernizing

* Revert "modernizing"

This reverts commit d66b3aa0e9.

* hmmm

* bleh back to false
2024-08-01 19:52:11 -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
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
0f61b7b176
ci: update cirrus-ci FreeBSD versions (#1400)
* ci: update cirrus-ci FreeBSD versions

Looks like the newest available FreeBSD images are 13-2 and 14-0, and
the previously used ones aren't available anymore.

* comment
2024-01-28 06:09:06 -05:00
Clement Tsang
e9125500af
ci: add an explicit timeout for jobs (#1398) 2024-01-28 05:23:17 -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
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
857b5bade0
ci: run black on Python scripts (#1094)
* ci: run black on Python scripts

* comments
2023-04-11 04:57:29 -04:00
Clement Tsang
7f4e762921
ci: use sparse crates.io registries in CI (#1057) 2023-03-12 15:43:30 -04:00
Clement Tsang
9c197d0cf6
ci: do no feature first in cirrus (#1048) 2023-03-07 00:18:42 -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
5cce30c7f1
ci: fix freebsd Cirrus build script (#923) 2022-12-02 21:57:41 -05:00
Clement Tsang
3e47383b25
ci: add freebsd 12 as a build/check target (#922)
* ci: add freebsd 12 as a build/check target

* forgot to add 12 for tests
2022-12-02 20:12:49 -05: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
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
5eba26f9e5
ci: add build alias for easier build artifact URLs (#852) 2022-10-26 04:58:51 -04:00
Clement Tsang
0b8224c015
ci: fix cirrus ci build cleanup (#849) 2022-10-21 23:26:39 -04:00
Clement Tsang
3fdd7cd48e
ci: add FreeBSD and macOS M1 builds (#845)
* add OS to fingerprint cache

* simplify cirrus test script

* cleanup and add start of build script

* add nightly cron job to CCI build, add artifact

* add docs

* avoid test task if cron
2022-10-21 10:47:55 -04:00
Clement Tsang
f9732bbb9e
ci: merge all-feature and no-feature tests on Cirrus (#847)
Since it is a more limited platform for the public free tier,
particularly for macOS VMs, it seems better to combine the testing
scripts rather than using a matrix.
2022-10-20 06:41:20 -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
8043a72029
ci: various Cirrus CI test fixes (#844)
Some cache and conditional fixes for Cirrus CI testing. The test tasks should only run on the default branch and on PRs.
2022-10-20 03:19:29 -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