From 51498e12388d2b29fa6d25465ed0175bf02e7dad Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 27 Oct 2022 06:27:04 -0400 Subject: 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 --- .cirrus.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.cirrus.yml') 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/" -- cgit v1.2.3