Add ruby 3.0 to build matrix; upgrade rake-compiler-docker image to 1.1.0

pull/25070/head
Alexander Polcyn 4 years ago
parent 1c8e28dcd2
commit 74693fa1d8
  1. 4
      Rakefile
  2. 2
      third_party/rake-compiler-dock/rake_x64-mingw32/Dockerfile
  3. 2
      third_party/rake-compiler-dock/rake_x86-linux/Dockerfile
  4. 2
      third_party/rake-compiler-dock/rake_x86-mingw32/Dockerfile
  5. 2
      third_party/rake-compiler-dock/rake_x86_64-linux/Dockerfile

@ -130,7 +130,7 @@ task 'gem:native' do
"invoked on macos with ruby #{RUBY_VERSION}. The ruby macos artifact " \
"build should be running on ruby 2.5."
end
system "rake cross native gem RUBY_CC_VERSION=2.7.0:2.6.0:2.5.0:2.4.0:2.3.0 V=#{verbose} GRPC_CONFIG=#{grpc_config}"
system "rake cross native gem RUBY_CC_VERSION=3.0.0:2.7.0:2.6.0:2.5.0:2.4.0:2.3.0 V=#{verbose} GRPC_CONFIG=#{grpc_config}"
else
Rake::Task['dlls'].execute
['x86-mingw32', 'x64-mingw32', 'x86_64-linux', 'x86-linux'].each do |plat|
@ -138,7 +138,7 @@ task 'gem:native' do
gem update --system --no-document && \
bundle && \
rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
RUBY_CC_VERSION=2.7.0:2.6.0:2.5.0:2.4.0:2.3.0 \
RUBY_CC_VERSION=3.0.0:2.7.0:2.6.0:2.5.0:2.4.0:2.3.0 \
V=#{verbose} \
GRPC_CONFIG=#{grpc_config}
EOT

@ -1,3 +1,3 @@
FROM larskanis/rake-compiler-dock-mri-x64-mingw32:1.0.0
FROM larskanis/rake-compiler-dock-mri-x64-mingw32:1.1.0
RUN find / -name win32.h | while read f ; do sed -i 's/gettimeofday/rb_gettimeofday/' $f ; done

@ -1 +1 @@
FROM larskanis/rake-compiler-dock-mri-x86-linux:1.0.0
FROM larskanis/rake-compiler-dock-mri-x86-linux:1.1.0

@ -1,3 +1,3 @@
FROM larskanis/rake-compiler-dock-mri-x86-mingw32:1.0.0
FROM larskanis/rake-compiler-dock-mri-x86-mingw32:1.1.0
RUN find / -name win32.h | while read f ; do sed -i 's/gettimeofday/rb_gettimeofday/' $f ; done

@ -1 +1 @@
FROM larskanis/rake-compiler-dock-mri-x86_64-linux:1.0.0
FROM larskanis/rake-compiler-dock-mri-x86_64-linux:1.1.0

Loading…
Cancel
Save