File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020 rcd_build :
2121 name : Build
2222 runs-on : ubuntu-latest
23+ env :
24+ RCD_IMAGE_VERSION : snapshot
2325 strategy :
2426 fail-fast : false
2527 matrix :
Original file line number Diff line number Diff line change 1313group :test do
1414 gem "bundler" , ">= 1.16" , "< 3.0"
1515 gem "rake-compiler" , "~> 1.0"
16- gem "rake-compiler-dock" , "~> 1.9.1"
16+ gem "rake-compiler-dock" , "~> 1.9.1" , git : "https://github.com/rake-compiler/rake-compiler-dock"
1717 gem "rspec" , "~> 3.5"
1818 # "bigdecimal" is a gem on ruby-3.4+ and it's optional for ruby-pg.
1919 # Specs should succeed without it, but 4 examples are then excluded.
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ Rake::ExtensionTask.new do |ext|
7474 # Activate current cross compiled platform only.
7575 # This is to work around the issue that `linux` platform is selected in `linux-musl` image.
7676 ext . cross_platform = CrossLibraries . map ( &:platform ) . select do |pl |
77- m = ENV [ "RCD_IMAGE" ] &.match ( /:(?<ruby_ver>[\d \. ]+)-mri-(?<platform>[-\w ]+)$/ )
77+ m = ENV [ "RCD_IMAGE" ] &.match ( /:(?<ruby_ver>[\w \. ]+)-mri-(?<platform>[-\w ]+)$/ )
7878 m && m [ :platform ] == pl
7979 end
8080
@@ -106,7 +106,7 @@ task 'gem:native:prepare' do
106106 # Copy gem signing key and certs to be accessible from the docker container
107107 mkdir_p 'build/gem'
108108 sh "cp ~/.gem/gem-*.pem build/gem/ || true"
109- sh "bundle package"
109+ sh "bundle package --all "
110110 begin
111111 OpenSSL ::PKey . read ( File . read ( File . expand_path ( "~/.gem/gem-private_key.pem" ) ) , ENV [ "GEM_PRIVATE_KEY_PASSPHRASE" ] || "" )
112112 rescue OpenSSL ::PKey ::PKeyError
You can’t perform that action at this time.
0 commit comments