Skip to content

Commit

Permalink
Try potential fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Sep 30, 2024
1 parent 5f37913 commit b84cda0
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- ruby: { name: jruby-9.4, value: jruby-9.4.2.0 }
os: { name: Ubuntu, value: ubuntu-22.04 }

- ruby: { name: truffleruby-22, value: truffleruby-22.3.0 }
- ruby: { name: truffleruby-24, value: truffleruby-24.1.0 }
os: { name: Ubuntu, value: ubuntu-22.04 }

- os: { name: Windows, value: windows-2022 }
Expand All @@ -64,7 +64,28 @@ jobs:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
mingw: clang
if: matrix.os.name == 'Windows'
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'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: rubygems/rubygems
ref: deivid-rodriguez/no-ruby-prepend
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: Bundle install
run: "D:\ruby-mswin\bin\bundle.bat install --jobs 4"
if: matrix.os.name == 'Windows' && matrix.ruby.name == 'mswin'
- name: Configure bindgen
shell: pwsh
run: |
Expand Down

0 comments on commit b84cda0

Please sign in to comment.