From 068de8bfab2e839b8d56ba454343af61ce780ff7 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 3 Jun 2022 22:51:20 +0300 Subject: [PATCH] Common: only run Cirrus CI for commits in master and PRs to master --- .cirrus.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index a401765..8b27a99 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -6,7 +6,7 @@ freebsd_instance: main_freebsd_task: name: Main (FreeBSD) - only_if: $CIRRUS_BASE_BRANCH == 'master' + only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master' dependencies_script: - pkg install --yes autoconf automake main_build_script: @@ -19,7 +19,7 @@ main_freebsd_task: mruby_freebsd_task: name: mruby (FreeBSD) - only_if: $CIRRUS_BASE_BRANCH == 'master' + only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master' env: # FIXME: temporary hack to fix FreeBSD build CPATH: '/usr/local/include' @@ -41,7 +41,7 @@ mruby_freebsd_task: ruby_freebsd_task: name: Ruby (FreeBSD) - only_if: $CIRRUS_BASE_BRANCH == 'master' + only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master' env: # FIXME: temporary hack to fix FreeBSD build CPATH: '/usr/local/include' @@ -70,7 +70,7 @@ ruby_freebsd_task: rust_freebsd_task: name: Rust (FreeBSD) - only_if: $CIRRUS_BASE_BRANCH == 'master' + only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master' env: # FIXME: temporary hack to fix FreeBSD build RUSTFLAGS: '-L /usr/local/lib'