summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-10-29 05:37:45 -0400
committerGitHub <noreply@github.com>2022-10-29 05:37:45 -0400
commite3ced72c2f8b98436c27c518b91d2330af15fe21 (patch)
tree5edc4fa32a35266e4557b6099a82662f5d72711d /.cirrus.yml
parent568c48eb5f494a95e6cee43accfcf37e667f3ca5 (diff)
ci: add skip based on file changes for Cirrus tests (#859)
* ci: add skip based on file changes for Cirrus tests
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 9e326b6b..4c8cd00f 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,7 +1,7 @@
%YAML 1.1
---
-# Configuration for CirrusCI. This is primarily used for
-# FreeBSD and macOS M1 tests and builds.
+# Configuration for CirrusCI. This is primarily used for testing and building FreeBSD and macOS M1, since other
+# CI platforms don't seem to support these platforms as of writing.
#
# We set the YAML directive above to prevent some linting errors around the
# templates.
@@ -42,6 +42,7 @@ env:
test_task:
auto_cancellation: false
only_if: $CIRRUS_BUILD_SOURCE != "api" && ($CIRRUS_BRANCH == "master" || $CIRRUS_PR != "")
+ skip: "!changesInclude('.cargo/**', '.cirrus.yml', 'sample_configs/**', 'src/**', 'tests/**', 'build.rs', 'Cargo.lock', 'Cargo.toml', 'clippy.toml', 'rustfmt.toml')"
matrix:
- name: "FreeBSD 13 Test"
freebsd_instance: