Skip to content

Commit

Permalink
[Cirrus] Run only when YJIT sources change [skip appveyor]
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
nobu committed Jul 4, 2023
1 parent 4f2f1dd commit 6f4c8d1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .cirrus.yml
Expand Up @@ -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
Expand Down

0 comments on commit 6f4c8d1

Please sign in to comment.