Skip to content

Commit

Permalink
Merge pull request #2759 from sparklemotion/flavorjones-dep-rake-comp…
Browse files Browse the repository at this point in the history
…iler-dock-1.3.0

dep: update to rake-compiler-dock 1.3.0
  • Loading branch information
flavorjones committed Jan 12, 2023
2 parents 7c4c54f + d7a1c1b commit 92d2df4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,7 @@ jobs:
name: "generic-package"
runs-on: ubuntu-latest
container:
# image: "larskanis/rake-compiler-dock-mri-x86_64-linux:${{needs.rcd_image_version.outputs.rcd_image_version}}"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-linux"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:${{needs.rcd_image_version.outputs.rcd_image_version}}-mri-x86_64-linux"
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -515,8 +514,7 @@ jobs:
path: ports/archives
key: tarballs-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}}
- env:
DOCKER_IMAGE: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-${{matrix.plat}}"
# DOCKER_IMAGE: "larskanis/rake-compiler-dock-mri-${{matrix.plat}}:${{needs.rcd_image_version.outputs.rcd_image_version}}"
DOCKER_IMAGE: "ghcr.io/rake-compiler/rake-compiler-dock-image:${{needs.rcd_image_version.outputs.rcd_image_version}}-mri-${{matrix.plat}}"
run: |
docker run --rm -v "$(pwd):/nokogiri" -w /nokogiri \
${DOCKER_IMAGE} \
Expand Down Expand Up @@ -697,8 +695,7 @@ jobs:
name: "jruby-package"
runs-on: ubuntu-latest
container:
# image: "larskanis/rake-compiler-dock-jruby:${{needs.rcd_image_version.outputs.rcd_image_version}}"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-jruby"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:${{needs.rcd_image_version.outputs.rcd_image_version}}-jruby"
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ group :development do

# building extensions
gem "rake-compiler", "= 1.2.1"
gem "rake-compiler-dock", "= 1.2.2"
gem "rake-compiler-dock", "= 1.3.0"

# documentation
gem "hoe-markdown", "= 1.4.0"
Expand Down
2 changes: 0 additions & 2 deletions rakelib/extensions.rake
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ namespace "gem" do
CROSS_RUBIES.find_all { |cr| cr.windows? || cr.linux? || cr.darwin? }.map(&:platform).uniq.each do |plat|
desc "build native gem for #{plat} platform"
task plat do
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-#{plat}"
RakeCompilerDock.sh(<<~EOT, platform: plat, verbose: true)
ruby -v &&
gem install bundler --no-document &&
Expand All @@ -345,7 +344,6 @@ namespace "gem" do

desc "build a jruby gem"
task "jruby" do
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-jruby"
RakeCompilerDock.sh(<<~EOF, rubyvm: "jruby", platform: "jruby", verbose: true)
gem install bundler --no-document &&
bundle &&
Expand Down

0 comments on commit 92d2df4

Please sign in to comment.