From 11f5bcbd2762d717a9c46976377b6f349765d006 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Wed, 27 Sep 2023 17:10:34 +0200 Subject: [PATCH] cirrus/ci: Run ubuntu22_task on benchmark-nightly, too --- .cirrus.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 3e349974f0..8c3a07df1b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -296,6 +296,13 @@ ubuntu22_task: upload_binary_artifacts: path: build.tgz benchmark_script: ./ci/benchmark.sh + # Run on PRs, merges to master and release/.* and benchmark-nightly cron. + only_if: > + ( $CIRRUS_PR != '' && $CIRRUS_BRANCH !=~ 'dependabot/.*' ) || + ( ( $CIRRUS_REPO_NAME == 'zeek' || $CIRRUS_REPO_NAME == 'zeek-security' ) && + $CIRRUS_BRANCH == 'master' || + $CIRRUS_BRANCH =~ 'release/.*' || + $CIRRUS_CRON == 'benchmark-nightly' ) ubuntu22_spicy_task: container: