diff options
author | Alexander Batischev <eual.jp@gmail.com> | 2021-06-27 22:30:47 +0300 |
---|---|---|
committer | Alexander Batischev <eual.jp@gmail.com> | 2021-06-27 23:01:30 +0300 |
commit | 69cdbcde4c44baa17637eab4a488a3bff5cfc435 (patch) | |
tree | 34b9f8ccab23c4432b3a063ff23d5c97d17d54c7 /.cirrus.yml | |
parent | 8722d689955a859d6b7a81b7369b3f81fcd4cedf (diff) |
Skip Cirrus checks if there are no relevant changes
This was only done for a few select tasks which map well to Cirrus'
`changesInclude` function. The rest of the tasks need a mechanism
similar to GitHub Actions' `paths-ignore`. I'll request such
a mechanism, and edit the remaining tasks once it's available.
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 2329e62b..f2a19922 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -367,6 +367,7 @@ address_sanitizer_task: depslist_task: name: Dependencies list is up to date + skip: "!changesInclude('.cirrus.yml', '**.{h,cpp}')" container: dockerfile: docker/ubuntu_20.04-build-tools.dockerfile @@ -415,6 +416,7 @@ undefined_behavior_sanitizer_task: asciidoctor_warnings_task: name: Asciidoctor with warnings-as-errors + skip: "!changesInclude('.cirrus.yml', 'doc/*')" container: cpu: 1 @@ -428,6 +430,7 @@ asciidoctor_warnings_task: i18nspector_task: name: .po files + skip: "!changesInclude('.cirrus.yml', 'po/*.{po,pot}')" container: cpu: 1 @@ -443,6 +446,7 @@ i18nspector_task: no_dbg_macros_task: name: "No dbg! macros in Rust code" + skip: "!changesInclude('.cirrus.yml', '**.rs')" container: cpu: 1 |