about summary refs log tree commit diff
path: root/.circleci
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-02-14 23:30:27 -0800
committerGitHub <noreply@github.com>2023-02-15 08:30:27 +0100
commitfb8503e861b630728ead4be847309f1fd7c03dd4 (patch)
tree36cd2d74fd90b01be37d776978eff3e14ca32a4c /.circleci
parentd15a9df6fefd515e8c655b1a03f08d2a95675d97 (diff)
Upgrade to Ruby 3.2 (#22928)
Co-authored-by: Matthew Ford <matt@bitzesty.com>
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fabb6967e..0b3123893 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -46,7 +46,7 @@ commands:
           name: Set bundler settings
       - ruby/install-deps:
           bundler-version: '2.3.26'
-          key: ruby<< parameters.ruby-version >>-gems-v1
+          key: ruby<< parameters.ruby-version >>-gems-v2
   wait-db:
     steps:
       - run:
@@ -56,14 +56,14 @@ commands:
 jobs:
   build:
     docker:
-      - image: cimg/ruby:3.0-node
+      - image: cimg/ruby:3.2-node
         environment:
           RAILS_ENV: test
     steps:
       - checkout
       - install-system-dependencies
       - install-ruby-dependencies:
-          ruby-version: '3.0'
+          ruby-version: '3.2'
       - node/install-packages:
           cache-version: v1
           pkg-manager: yarn
@@ -95,7 +95,7 @@ jobs:
       - checkout
       - install-system-dependencies
       - run:
-          command: sudo apt-get install -y ffmpeg imagemagick libpam-dev
+          command: sudo apt-get install -y ffmpeg imagemagick libmagickcore-dev libmagickwand-dev libjpeg-dev libpng-dev libtiff-dev libwebp-dev libpam-dev
           name: Install additional system dependencies
       - run:
           command: bundle config with 'pam_authentication'
@@ -113,12 +113,12 @@ jobs:
   test-migrations:
     executor:
       name: default
-      ruby-version: '3.0'
+      ruby-version: '3.2'
     steps:
       - checkout
       - install-system-dependencies
       - install-ruby-dependencies:
-          ruby-version: '3.0'
+          ruby-version: '3.2'
       - wait-db
       - run:
           command: ./bin/rails db:create
@@ -151,12 +151,12 @@ jobs:
   test-two-step-migrations:
     executor:
       name: default
-      ruby-version: '3.0'
+      ruby-version: '3.2'
     steps:
       - checkout
       - install-system-dependencies
       - install-ruby-dependencies:
-          ruby-version: '3.0'
+          ruby-version: '3.2'
       - wait-db
       - run:
           command: ./bin/rails db:create
@@ -206,6 +206,8 @@ workflows:
               ruby-version:
                 - '2.7'
                 - '3.0'
+                - '3.1'
+                - '3.2'
           name: test-ruby<< matrix.ruby-version >>
           requires:
             - build