Skip to content

Commit

Permalink
See if things pass now
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Oct 11, 2024
1 parent cd16995 commit 2f6487f
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions .github/workflows/rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,49 +64,7 @@ jobs:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
mingw: clang
if: matrix.os.name == 'Windows' && matrix.ruby.name != 'mswin'
- name: Setup ruby (Windows mswin)
uses: ruby/setup-ruby-pkgs@1493c009477b19efcb54cfaf72b5f9d1fd6ba86c # v1.33.2
with:
ruby-version: ${{ matrix.ruby.value }}
mingw: clang
if: matrix.os.name == 'Windows' && matrix.ruby.name == 'mswin'
- name: Binstub before rubygems installation
run: |
cat 'D:/ruby-mswin/bin/bundle'
ls -la 'D:/ruby-mswin/bin/bundle'
ruby -e 'puts File.executable?("D:/ruby-mswin/bin/bundle")'
cat 'D:/ruby-mswin/bin/bundle.bat'
ls -la 'D:/ruby-mswin/bin/bundle.bat'
ruby -e 'puts File.executable?("D:/ruby-mswin/bin/bundle.bat")'
shell: bash
if: matrix.ruby.name == 'mswin'
- run: ruby -e 'puts RbConfig::CONFIG'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: rubygems/rubygems
ref: deivid-rodriguez/fix-reexec-on-mswin-take-2
path: rubygems
if: matrix.ruby.name == 'mswin'
- run: ruby setup.rb
working-directory: rubygems
if: matrix.ruby.name == 'mswin'
- run: rm -rf rubygems
shell: bash
if: matrix.ruby.name == 'mswin'
- name: Binstub after rubygems installation
run: |
cat 'D:/ruby-mswin/bin/bundle'
ls -la 'D:/ruby-mswin/bin/bundle'
ruby -e 'puts File.executable?("D:/ruby-mswin/bin/bundle")'
cat 'D:/ruby-mswin/bin/bundle.bat'
ls -la 'D:/ruby-mswin/bin/bundle.bat'
ruby -e 'puts File.executable?("D:/ruby-mswin/bin/bundle.bat")'
shell: bash
if: matrix.ruby.name == 'mswin'
- name: Bundle install
run: 'D:\ruby-mswin\bin\bundle.bat install --jobs 4'
if: matrix.os.name == 'Windows' && matrix.ruby.name == 'mswin'
if: matrix.os.name == 'Windows'
- name: Configure bindgen
shell: pwsh
run: |
Expand Down

0 comments on commit 2f6487f

Please sign in to comment.