Skip to content

Commit

Permalink
Update build matrix
Browse files Browse the repository at this point in the history
* Add Ruby 3.1
* Add Rails 7.0
  • Loading branch information
sikachu committed Feb 7, 2022
1 parent 5b8bc6d commit b016746
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ ruby-3-0: &ruby-3-0
docker:
- image: circleci/ruby:3.0

ruby-3-1: &ruby-3-1
docker:
- image: circleci/ruby:3.1

rails-4-2: &rails-4-2
environment:
RAILS_VERSION: "~> 4.2.0"
Expand All @@ -59,6 +63,10 @@ rails-6-1: &rails-6-1
environment:
RAILS_VERSION: "~> 6.1.0"

rails-7-0: &rails-7-0
environment:
RAILS_VERSION: "~> 7.0.0"

rails-edge: &rails-edge
environment:
RAILS_BRANCH: "main"
Expand Down Expand Up @@ -151,6 +159,10 @@ jobs:
<<: *ruby-2-7
<<: *rails-6-1
<<: *build_steps
"ruby-2-7-rails-7-0":
<<: *ruby-2-7
<<: *rails-7-0
<<: *build_steps
"ruby-2-7-rails-edge":
<<: *ruby-2-7
<<: *rails-edge
Expand All @@ -164,11 +176,32 @@ jobs:
<<: *ruby-3-0
<<: *rails-6-1
<<: *build_steps
"ruby-3-0-rails-7-0":
<<: *ruby-3-0
<<: *rails-7-0
<<: *build_steps
"ruby-3-0-rails-edge":
<<: *ruby-3-0
<<: *rails-edge
<<: *build_steps

"ruby-3-1-rails-6-0":
<<: *ruby-3-1
<<: *rails-6-0
<<: *build_steps
"ruby-3-1-rails-6-1":
<<: *ruby-3-1
<<: *rails-6-1
<<: *build_steps
"ruby-3-1-rails-7-0":
<<: *ruby-3-1
<<: *rails-7-0
<<: *build_steps
"ruby-3-1-rails-edge":
<<: *ruby-3-1
<<: *rails-edge
<<: *build_steps

workflows:
version: 2
build:
Expand All @@ -194,8 +227,15 @@ workflows:
- "ruby-2-7-rails-5-2"
- "ruby-2-7-rails-6-0"
- "ruby-2-7-rails-6-1"
- "ruby-2-7-rails-7-0"
- "ruby-2-7-rails-edge"

- "ruby-3-0-rails-6-0"
- "ruby-3-0-rails-6-1"
- "ruby-3-0-rails-7-0"
- "ruby-3-0-rails-edge"

- "ruby-3-1-rails-6-0"
- "ruby-3-1-rails-6-1"
- "ruby-3-1-rails-7-0"
- "ruby-3-1-rails-edge"

0 comments on commit b016746

Please sign in to comment.