Skip to content

Commit 6fabca8

Browse files
fd00hsbt
authored andcommitted
Add rubygems package to fix cygwin CI
1 parent eb6e36a commit 6fabca8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/cygwin.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,19 @@ jobs:
4545
- name: Setup Cygwin
4646
uses: cygwin/cygwin-install-action@master
4747
with:
48-
packages: ruby gcc-core make autoconf libtool libssl-devel libyaml-devel libffi-devel zlib-devel
48+
packages: ruby gcc-core make autoconf libtool libssl-devel libyaml-devel libffi-devel zlib-devel rubygems
4949

5050
- name: configure
5151
run: |
5252
./autogen.sh
5353
./configure --disable-install-doc
5454
shell: C:\cygwin\bin\bash.EXE --noprofile --norc -e -o igncr -o pipefail {0}
5555

56-
# This fails with: tool/outdate-bundled-gems.rb:3:in 'Kernel#require': cannot load such file -- rubygems (LoadError)
57-
#- name: Extract bundled gems
58-
# run: |
59-
# make ruby -j5
60-
# make extract-gems
61-
# shell: C:\cygwin\bin\bash.EXE --noprofile --norc -e -o igncr -o pipefail {0}
56+
- name: Extract bundled gems
57+
run: |
58+
make ruby -j5
59+
make extract-gems
60+
shell: C:\cygwin\bin\bash.EXE --noprofile --norc -e -o igncr -o pipefail {0}
6261

6362
- name: make all
6463
timeout-minutes: 30

0 commit comments

Comments
 (0)