summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-10-27 06:27:04 -0400
committerGitHub <noreply@github.com>2022-10-27 06:27:04 -0400
commit51498e12388d2b29fa6d25465ed0175bf02e7dad (patch)
tree3df800d9005d97d70fbe299f0f47e0c3a089aa5c /.cirrus.yml
parent5eba26f9e5edee02122ee12711650f0c860c06ed (diff)
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
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 6ced047f..e0a9de61 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,3 +1,5 @@
+%YAML 1.1
+---
# Configuration for CirrusCI. This is primarily used for
# FreeBSD and macOS M1 tests and builds.
@@ -35,7 +37,8 @@ env:
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
test_task:
- only_if: $CIRRUS_CRON == "" && ($CIRRUS_BRANCH == "master" || $CIRRUS_PR != "")
+ auto_cancellation: false
+ only_if: $CIRRUS_BUILD_SOURCE != "api" && ($CIRRUS_BRANCH == "master" || $CIRRUS_PR != "")
matrix:
- name: "FreeBSD 13 Test"
freebsd_instance:
@@ -60,7 +63,8 @@ test_task:
<<: *CLEANUP_TEMPLATE
build_task:
- only_if: $CIRRUS_RELEASE != "" || $CIRRUS_CRON == "nightly" || $CIRRUS_API_CREATED == true || $CIRRUS_BRANCH == "master"
+ auto_cancellation: false
+ only_if: $CIRRUS_BUILD_SOURCE == "api"
env:
BTM_GENERATE: true
COMPLETION_DIR: "target/tmp/bottom/completion/"