From 1a1124b7d41035abc6a63d78350ff1194c41c0ac Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Sat, 20 Jan 2018 21:16:50 -0300 Subject: [PATCH] Add branch and tag filter to ci Build master, release and ci branches Build tags --- .circleci/config.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f2127bfd4c7b..c4c25783f3b3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,17 @@ workflows: version: 2 build_all_platforms: jobs: - - build_linux - - build_linux32 - - build_osx + - build_linux: + filters: &ci_filter + branches: + only: + - master + - /release\/.+/ + - /.*\bci\b.*/ + tags: + only: /.*/ + - build_linux32: + filters: *ci_filter + - build_osx: + filters: *ci_filter +