Skip to content

Commit 54df38b

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

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ 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+
bundler-cache: true
55+
mingw: gperf
5056
- name: Run test
5157
run: bundle exec rake compile test

0 commit comments

Comments
 (0)