From 246246bb5cec9dce7160b3b92d11eed065f200b3 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 12 Nov 2022 14:36:18 -0800 Subject: [PATCH] Try to defeat pullbot-driven CI runs Some forks of fish have outstanding PRs which trigger CI whenever we push to main. Spare cirrus's infra by only running on fish-shell. --- .cirrus.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 393e80a2c..7bd954801 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -51,11 +51,14 @@ linux_task: - ninja -j 6 fish fish_tests - ninja fish_run_tests + only_if: $CIRRUS_REPO_OWNER == 'fish-shell' + linux_arm_task: matrix: - name: focal-arm64 arm_container: image: ghcr.io/fish-shell/fish-ci/focal-arm64 + only_if: $CIRRUS_REPO_OWNER == 'fish-shell' - name: jammy-armv7-32bit arm_container: image: ghcr.io/fish-shell/fish-ci/jammy-armv7-32bit @@ -71,6 +74,8 @@ linux_arm_task: - file ./fish - ninja fish_run_tests + only_if: $CIRRUS_REPO_OWNER == 'fish-shell' + freebsd_task: matrix: - name: FreeBSD 14 @@ -97,3 +102,5 @@ freebsd_task: - sudo -u fish-user -s cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCTEST_PARALLEL_LEVEL=1 .. - sudo -u fish-user -s ninja -j 6 fish fish_tests - sudo -u fish-user -s ninja fish_run_tests + + only_if: $CIRRUS_REPO_OWNER == 'fish-shell'