Skip to content

Commit

Permalink
Update to rake-compiler-dock-1.5.0.rc1 and ruby-3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed Apr 8, 2024
1 parent 76ec90b commit f558d96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/binary-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- platform: "x64-mingw-ucrt"
- platform: "x64-mingw32"
- platform: "x86-mingw32"
- platform: "x86_64-linux"
- platform: "x86_64-linux-gnu"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
PGVERSION: 10.20-1-windows
- os: ubuntu-latest
ruby: "3.2"
platform: "x86_64-linux"
platform: "x86_64-linux-gnu"

runs-on: ${{ matrix.os }}
env:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source "https://rubygems.org/"
group :development, :test do
gem "bundler", ">= 1.16", "< 3.0"
gem "rake-compiler", "~> 1.0"
gem "rake-compiler-dock", "~> 1.0"
gem "rake-compiler-dock", "~> 1.5.pre"
gem "rdoc", "~> 6.4"
gem "rspec", "~> 3.5"
gem "mini_portile2", "~> 2.1"
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CrossLibraries = [
['x64-mingw-ucrt', 'mingw64', 'x86_64-w64-mingw32'],
['x86-mingw32', 'mingw', 'i686-w64-mingw32'],
['x64-mingw32', 'mingw64', 'x86_64-w64-mingw32'],
['x86_64-linux', 'linux-x86_64', 'x86_64-redhat-linux'],
['x86_64-linux-gnu', 'linux-x86_64', 'x86_64-redhat-linux-gnu'],
].map do |platform, openssl_config, toolchain|
CrossLibrary.new platform, openssl_config, toolchain
end
Expand Down Expand Up @@ -103,7 +103,7 @@ CrossLibraries.each do |xlib|
#{ "sudo yum install -y perl-IPC-Cmd &&" if platform =~ /linux/ }
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
bundle install --local &&
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKE="make -j`nproc`" RUBY_CC_VERSION=3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKE="make -j`nproc`" RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
EOT
end
desc "Build the native binary gems"
Expand Down

0 comments on commit f558d96

Please sign in to comment.