Skip to content

Commit

Permalink
ci: update rubygems in test containers
Browse files Browse the repository at this point in the history
Rubygems 3.3.22 is the minimum needed to correctly detect and use
`-linux-musl` and `-linux-gnu` native gems.

rake-compiler/rake-compiler#236 introduced a
minimum rubygems version for these native platform gems to provide a
sensible error message.
  • Loading branch information
flavorjones committed Mar 24, 2024
1 parent 97f06c5 commit 28c9a94
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --rm -v $PWD:/work -w /work \
${{ matrix.docker_platform}} ruby:${{ matrix.ruby }} \
./bin/test-gem-install ./gems
sh -c "
gem update --system &&
./bin/test-gem-install ./gems
"
test_the_rest:
name: "${{ matrix.platform }} ${{ matrix.ruby }}"
Expand Down Expand Up @@ -361,4 +364,6 @@ jobs:
name: cruby-x86_64-linux-gem
path: gems
- run: apk add bash build-base
- if: matrix.ruby == '3.0' # https://github.com/rake-compiler/rake-compiler/pull/236
run: gem update --system
- run: ./bin/test-gem-install ./gems

0 comments on commit 28c9a94

Please sign in to comment.