aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2023-10-06 12:13:26 +0000
committerEd Maste <emaste@FreeBSD.org>2024-01-06 23:27:10 +0000
commit793fc5e396dddefac5531a7d52c8d07401c88c22 (patch)
tree43168b4dbf93a9385e689ff73b60de8ad40b1d74 /.cirrus.yml
parentc39254c8f23379709b8e2a68dc64477d2885f1d4 (diff)
Cirrus CI: Only trigger amd64-gcc12 on pull requests
Since Cirrus Labs is limiting their free usage tier [1], limit gcc CI runs to pull requests only. [1]: https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/ (cherry picked from commit 57b9a104a26d0761c4cba5726f0ab78b50a57ded)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 3086ee23262b..1b25914c0062 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -81,7 +81,7 @@ task:
TOOLCHAIN_PKG: ${TOOLCHAIN}
EXTRA_MAKE_FLAGS: -s
- name: amd64-gcc12 World and kernel build and boot smoke test (FreeBSD repo)
- only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src'
+ only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src' && $CIRRUS_BRANCH =~ 'pull/.*'
env:
TARGET: amd64
TARGET_ARCH: amd64