@@ -238,7 +238,9 @@ jobs:
238238 echo "id=$(cat container_id)" >> $GITHUB_OUTPUT
239239 - name : Install Alpine system dependencies
240240 if : ${{ matrix.libc == 'musl' }}
241- run : docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar cmake clang ccache
241+ run : |
242+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar cmake clang ccache
243+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} ln -sf /usr/bin/python3 /usr/bin/python
242244 - name : Install Debian system dependencies
243245 if : ${{ matrix.libc == 'gnu' }}
244246 run : |
@@ -346,7 +348,9 @@ jobs:
346348 echo "id=$(cat container_id)" >> $GITHUB_OUTPUT
347349 - name : Install Alpine system dependencies
348350 if : ${{ matrix.container.libc == 'musl' }}
349- run : docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar
351+ run : |
352+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar
353+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} ln -sf /usr/bin/python3 /usr/bin/python
350354 - name : Update Rubygems and Bundler
351355 run : |
352356 docker exec -w "${PWD}" ${{ steps.container.outputs.id }} gem update --system
@@ -369,9 +373,9 @@ jobs:
369373 cd test/mini_racer
370374 ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-ruby.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
371375 ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
372- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle install
373- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake compile
374- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake test
376+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install
377+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake compile
378+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake test
375379 test-darwin :
376380 strategy :
377381 fail-fast : false
@@ -484,6 +488,6 @@ jobs:
484488 cd test/mini_racer
485489 ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-linux.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
486490 ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
487- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle install
488- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake compile
489- docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake test
491+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install
492+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake compile
493+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake test
0 commit comments