Skip to content

Commit 0ecc6fe

Browse files
protobuf-github-botJasonLunn
authored andcommitted
Update Ruby 4.0 test Docker image and enable continuous tests.
This docker image includes ruby gems v4.0.5, which includes ruby/rubygems#9245 that fixes building multiple native extensions. PiperOrigin-RevId: 863399053
1 parent 8be64ea commit 0ecc6fe

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/test_ruby.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- { name: Ruby 3.4, ruby: ruby-3.4.1, continuous-only: true }
3838
# TODO: Remove the image property in the two entries below and update the configuration
3939
# used by all the images the next time there is an update to the Dockerfile
40-
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-1a1642a7cba0a7fa4c226c2d047ed5fbe6ca5451' }
41-
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: FFI, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-1a1642a7cba0a7fa4c226c2d047ed5fbe6ca5451' }
40+
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-f1c24ed6acfbf6ec709b0de2f702209c9d3ac659' }
41+
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: FFI, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-f1c24ed6acfbf6ec709b0de2f702209c9d3ac659' }
4242
- { name: JRuby 9.4, ruby: jruby-9.4.9.0, ffi: NATIVE }
4343
- { name: JRuby 9.4, ruby: jruby-9.4.9.0, ffi: FFI }
4444

@@ -189,14 +189,9 @@ jobs:
189189
- { name: Ruby 3.1, ruby: ruby-3.1.6, ffi: FFI }
190190
- { name: Ruby 3.2, ruby: ruby-3.2.6, continuous-only: true}
191191
- { name: Ruby 3.3, ruby: ruby-3.3.6, continuous-only: true}
192-
# TODO: After https://github.com/ruby/rubygems/issues/9244 is resolved,
193-
# Replace these two test configurations:
194-
- { name: Ruby 3.4, ruby: ruby-3.4.1, ffi: NATIVE }
195-
- { name: Ruby 3.4, ruby: ruby-3.4.1, ffi: FFI, continuous-only: true }
196-
# With these three test configurations:
197-
# - { name: Ruby 3.4, ruby: ruby-3.4.1, continuous-only: true }
198-
# - { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-1a1642a7cba0a7fa4c226c2d047ed5fbe6ca5451' }
199-
# - { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: FFI, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-1a1642a7cba0a7fa4c226c2d047ed5fbe6ca5451' }
192+
- { name: Ruby 3.4, ruby: ruby-3.4.1, continuous-only: true }
193+
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-f1c24ed6acfbf6ec709b0de2f702209c9d3ac659' }
194+
- { name: Ruby 4.0, ruby: ruby-4.0.0, ffi: FFI, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-ruby-4.0.0-f1c24ed6acfbf6ec709b0de2f702209c9d3ac659' }
200195
- { name: JRuby 9.4, ruby: jruby-9.4.9.0, ffi: NATIVE }
201196
- { name: JRuby 9.4, ruby: jruby-9.4.9.0, ffi: FFI, continuous-only: true }
202197
name: ${{ matrix.continuous-only && inputs.continuous-prefix || '' }} Install ${{ matrix.name }}${{ matrix.ffi == 'FFI' && ' FFI' || '' }}

0 commit comments

Comments
 (0)