Skip to content

Commit 1591889

Browse files
committed
Install gperf for all windows builds
1 parent a454ee6 commit 1591889

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,15 @@ jobs:
4242
- uses: actions/checkout@v4
4343
- name: Set up Ruby
4444
uses: ruby/setup-ruby@v1
45+
if: matrix.os != 'windows-latest'
4546
with:
4647
ruby-version: ${{ matrix.ruby }}
4748
bundler-cache: true # 'bundle install' and cache
48-
- run: choco install gperf
49-
if: ${{ matrix.ruby == 'mswin' }}
49+
- name: Install gperf for MinGW/UCRT builds
50+
uses: ruby/setup-ruby-pkgs@v1
51+
if: matrix.os == 'windows-latest'
52+
with:
53+
ruby-version: ${{ matrix.ruby }}
54+
mingw: gperf
5055
- name: Run test
5156
run: bundle exec rake compile test

0 commit comments

Comments
 (0)