Skip to content

Commit d394629

Browse files
committed
Update buildkite pipeline to run tests using Ruby 2.7.4 and 3.2.2
1 parent fc7afe7 commit d394629

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.buildkite/pipeline.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nodes with values to reuse in the pipeline.
22
common_params:
33
env: &xcode_image
4-
IMAGE_ID: xcode-14.1
4+
IMAGE_ID: xcode-14.3.1
55
plugins:
66
- &docker_plugin
77
docker#v3.8.0:
@@ -21,9 +21,14 @@ steps:
2121
#################
2222
# Build and Test
2323
#################
24-
- label: "🧪 Build and Test"
24+
- label: "🧪 Build and Test using Ruby {{ matrix.ruby }}"
2525
key: test
2626
command: |
27+
echo "--- :ruby: Using ruby {{ matrix.ruby }}"
28+
export RBENV_VERSION={{ matrix.ruby }}
29+
ruby --version
30+
31+
echo "--- :package: Installing homebrew packages"
2732
# We only need this for tasks running on a Mac
2833
brew install pkg-config git-lfs libxml2 imagemagick@6
2934
@@ -42,6 +47,11 @@ steps:
4247
- automattic/a8c-ci-toolkit#2.15.0
4348
agents:
4449
queue: "mac"
50+
matrix:
51+
setup:
52+
ruby:
53+
- 2.7.4
54+
- 3.2.2
4555

4656
#################
4757
# Lint
@@ -79,7 +89,7 @@ steps:
7989
- test
8090
- rubocop
8191
- danger
82-
# Note: We intentionally call a separate `.sh` script here (as opposed to having all the
92+
# Note: We intentionally call a separate `.sh` script here (as opposed to having all the
8393
# commands written inline) to avoid leaking a key used in the process in clear in the
8494
# BUILDKITE_COMMAND environment variable.
8595
command: .buildkite/gem-push.sh

0 commit comments

Comments
 (0)