summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-20 21:34:07 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-04 17:51:31 +0900
commit6f4c8d1dcffe859442d857b4a6b4bcd7537b7797 (patch)
tree97276cc4b111b6a4618afa4675d72a79c7a53337 /.cirrus.yml
parent4f2f1ddf2225bd58d799429e1d9067c93d4c78f2 (diff)
[Cirrus] Run only when YJIT sources change [skip appveyor]
[ci skip] on other CIs. Our tasks very often reach a concurrency limit on Cirrus-CI, and get delayed. Submitting new tasks during the delay seems to make delay longer and longer. So I think we should restrict the use of Cirrus, provisionally at least. As YJIT needs ARM build to test code for ARM, use only for it.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7957
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index c92e212d75..c73bb6b990 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -21,8 +21,11 @@ env:
config_template: &CONFIG_TEMPLATE
auto_cancellation: $CIRRUS_BRANCH != 'master'
- only_if: $CIRRUS_CRON != ''
- skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')"
+ only_if: changesInclude('.cirrus.yml', 'yjit.{c,h,rb}', 'yjit/**.{mk,rs,toml}')
+ skip: >-
+ $CIRRUS_CHANGE_MESSAGE =~ '.*\[DOC\].*' ||
+ $CIRRUS_PR_LABELS =~ '.*Documentation.*' ||
+ changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')
arm_container:
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
image: ghcr.io/ruby/ruby-ci-image:$CC