Skip to content

Commit

Permalink
[ci] Only run all mac jobs on master and version bump branches
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdholtz committed Feb 28, 2023
1 parent 13f4db2 commit 8664e7c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ orbs:
shellcheck: circleci/shellcheck@2.2.2 # brew install shellcheck stopped working so using this

aliases:
important-branches: &important-branches
filters:
branches:
only:
- main
- /^version\-bump\-.*/
# common - cache
- &cache_restore_git
restore_cache:
Expand Down Expand Up @@ -258,16 +264,19 @@ workflows:
name: 'Execute tests on macOS (Xcode 11.7.0, Ruby 2.6)'
xcode_version: '11.7.0'
ruby_version: '2.6'
<<: *important-branches
- tests_macos:
name: 'Execute tests on macOS (Xcode 12.5.1, Ruby 2.7)'
xcode_version: '12.5.1'
ruby_version: '2.7'
ruby_opt: -W:deprecated
<<: *important-branches
- tests_macos:
name: 'Execute tests on macOS (Xcode 13.0.0, Ruby 3.0)'
xcode_version: '13.0.0'
ruby_version: '3.0'
ruby_opt: -W:deprecated
<<: *important-branches
- tests_macos:
name: 'Execute tests on macOS (Xcode 13.0.0, Ruby 3.1)'
xcode_version: '13.0.0'
Expand Down

0 comments on commit 8664e7c

Please sign in to comment.