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 7924f9d
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 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 @@ -53,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup ruby (Ubuntu/macOS)
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0
with:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
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 7924f9d

Please sign in to comment.