Skip to content

Commit

Permalink
only run ci x-platform build checks against select git branches
Browse files Browse the repository at this point in the history
  • Loading branch information
busticated committed Apr 14, 2022
1 parent 2367d97 commit 9d67b3d
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
build-for-windows:
executor:
name: win/default
size: xlarge
parameters:
tasks:
type: string
Expand Down Expand Up @@ -412,7 +411,21 @@ commands:
paths:
- tested-platforms
workflows:
build-and-test:
test-build-system:
when:
or:
- matches:
pattern: "^main$"
value: << pipeline.git.branch >>
- matches:
pattern: "^master$"
value: << pipeline.git.branch >>
- matches:
pattern: "^develop$"
value: << pipeline.git.branch >>
- matches:
pattern: "^release/.*"
value: << pipeline.git.branch >>
jobs:
- setup-workspace:
<<: *tag_filters
Expand Down Expand Up @@ -447,6 +460,8 @@ workflows:
- build-for-windows
- build-for-ubuntu
- build-for-darwin
build-and-test:
jobs:
- build-and-test:
<<: *tag_filters
context:
Expand Down

0 comments on commit 9d67b3d

Please sign in to comment.