+13
-16
lines changedFilter options
+13
-16
lines changed Original file line number Diff line number Diff line change
@@ -30,9 +30,8 @@ jobs:
30
30
include:
31
31
# Test both FFI and Native implementations on the highest and lowest
32
32
# Ruby versions for CRuby and JRuby
33
-
- { name: Ruby 3.0, ruby: ruby-3.0.2, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:7.1.2-ruby-3.0.2-d9624f2aa83cba3eaf906f751d75b36aacb9aa82' }
34
-
- { name: Ruby 3.0, ruby: ruby-3.0.2, ffi: FFI, continuous-only: true, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:7.1.2-ruby-3.0.2-d9624f2aa83cba3eaf906f751d75b36aacb9aa82' }
35
-
- { name: Ruby 3.1, ruby: ruby-3.1.6, continuous-only: true }
33
+
- { name: Ruby 3.1, ruby: ruby-3.1.6, ffi: NATIVE }
34
+
- { name: Ruby 3.1, ruby: ruby-3.1.6, ffi: FFI }
36
35
- { name: Ruby 3.2, ruby: ruby-3.2.6, continuous-only: true }
37
36
- { name: Ruby 3.3, ruby: ruby-3.3.6, continuous-only: true }
38
37
- { name: Ruby 3.4, ruby: ruby-3.4.1, ffi: NATIVE }
@@ -85,11 +84,11 @@ jobs:
85
84
- name: Run tests
86
85
uses: protocolbuffers/protobuf-ci/docker@v4
87
86
with:
88
-
image: i386/ruby:3.0.2-buster
87
+
image: i386/ruby:3.1.6-bullseye
89
88
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
90
89
command: >-
91
90
/bin/bash -cex '
92
-
gem install bundler -v 2.5.13;
91
+
gem install bundler -v 2.6.6;
93
92
cd /workspace/ruby;
94
93
bundle;
95
94
PROTOC=/workspace/${{ steps.cross-compile.outputs.protoc }} rake;
@@ -117,11 +116,11 @@ jobs:
117
116
# - name: Run tests
118
117
# uses: protocolbuffers/protobuf-ci/docker@v4
119
118
# with:
120
-
# image: arm64v8/ruby:3.0.2-buster
119
+
# image: arm64v8/ruby:3.1.6-bullseye
121
120
# credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
122
121
# command: >-
123
122
# /bin/bash -cex '
124
-
# gem install bundler -v 2.5.13;
123
+
# gem install bundler -v 2.6.6;
125
124
# cd /workspace/ruby;
126
125
# bundle;
127
126
# PROTOC=/workspace/${{ steps.cross-compile.outputs.protoc }} rake;
@@ -136,9 +135,8 @@ jobs:
136
135
# Test both FFI and Native implementations on the highest and lowest
137
136
# Ruby versions for CRuby.
138
137
# Quote versions numbers otherwise 3.0 will render as 3
139
-
- { version: "3.0", ffi: NATIVE }
140
-
- { version: "3.0", ffi: FFI, continuous-only: true }
141
-
- { version: "3.1", continuous-only: true }
138
+
- { version: "3.1", ffi: NATIVE }
139
+
- { version: "3.1", ffi: FFI }
142
140
- { version: "3.2", continuous-only: true }
143
141
- { version: "3.3", continuous-only: true }
144
142
- { version: "3.4", ffi: NATIVE }
@@ -180,9 +178,8 @@ jobs:
180
178
include:
181
179
# Test both FFI and Native implementations on the highest and lowest
182
180
# Ruby versions for CRuby and JRuby.
183
-
- { name: Ruby 3.0, ruby: ruby-3.0.2, ffi: NATIVE, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:7.1.2-ruby-3.0.2-d9624f2aa83cba3eaf906f751d75b36aacb9aa82', continuous-only: true}
184
-
- { name: Ruby 3.0, ruby: ruby-3.0.2, ffi: FFI, image: 'us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:7.1.2-ruby-3.0.2-d9624f2aa83cba3eaf906f751d75b36aacb9aa82', continuous-only: true}
185
-
- { name: Ruby 3.1, ruby: ruby-3.1.6, continuous-only: true}
181
+
- { name: Ruby 3.1, ruby: ruby-3.1.6, ffi: NATIVE }
182
+
- { name: Ruby 3.1, ruby: ruby-3.1.6, ffi: FFI }
186
183
- { name: Ruby 3.2, ruby: ruby-3.2.6, continuous-only: true}
187
184
- { name: Ruby 3.3, ruby: ruby-3.3.6, continuous-only: true}
188
185
- { name: Ruby 3.4, ruby: ruby-3.4.1, ffi: NATIVE }
Original file line number Diff line number Diff line change
@@ -41,4 +41,4 @@ DEPENDENCIES
41
41
test-unit (~> 3.0, >= 3.0.9)
42
42
43
43
BUNDLED WITH
44
-
2.5.23
44
+
2.6.6
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ else
155
155
if RUBY_PLATFORM =~ /darwin/
156
156
task 'gem:native' do
157
157
system "rake genproto"
158
-
system "rake cross native gem RUBY_CC_VERSION=3.1.0:3.0.0:2.7.0"
158
+
system "rake cross native gem RUBY_CC_VERSION=3.1.0"
159
159
end
160
160
else
161
161
task 'gem:native' => [:genproto, 'gem:windows', 'gem:java']
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
ext/google/protobuf_c/Rakefile
31
31
]
32
32
end
33
-
s.required_ruby_version = '>= 3.0'
33
+
s.required_ruby_version = '>= 3.1'
34
34
# bigdecimal must be used as a non-built in gem as of ruby-3.4
35
35
s.add_dependency "bigdecimal"
36
36
# TODO: evaluate removing Rakefile and moving logic to extconf.rb, so that we
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4