From 6cf2016922e92454a1e7c5a0ea16d6920151b4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 30 Sep 2024 13:02:19 +0200 Subject: [PATCH] Verify upstream fix to mswin CI --- .github/workflows/rubygems.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rubygems.yml b/.github/workflows/rubygems.yml index daf19f3..476db12 100644 --- a/.github/workflows/rubygems.yml +++ b/.github/workflows/rubygems.yml @@ -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: |