File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 16
16
ruby : ' 3.0'
17
17
runs-on : ${{ matrix.os }}-latest
18
18
continue-on-error : ${{ endsWith(matrix.ruby, 'head') || matrix.os == 'windows' }}
19
+ defaults :
20
+ run :
21
+ shell : bash
19
22
steps :
20
23
- name : Checkout rubyzip-bzip2 code
21
24
uses : actions/checkout@v4
30
33
- name : Install bzip2 library
31
34
if : matrix.os == 'windows'
32
35
run : |
33
- wget https://github.com/philr/bzip2-windows/releases/download/v1.0.8.0/bzip2-dll-1.0.8.0-win-x64.zip
34
- Expand-Archive -Path bzip2-dll-1.0.8.0-win-x64.zip -DestinationPath C:\hostedtoolcache\windows\Ruby\${{ matrix.ruby }}\x64\bin
36
+ choco install bzip2
37
+ dir C:\ProgramData\chocolatey\lib\bzip2\tools
38
+ echo "C:\ProgramData\chocolatey\lib\bzip2\tools" >> "$GITHUB_PATH"
39
+ echo "$GITHUB_PATH"
35
40
36
41
- name : Run the tests
37
42
env :
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module FFI
37
37
module Libbz2 # :nodoc:
38
38
extend ::FFI ::Library
39
39
40
- ffi_lib [ 'bz2' , 'libbz2.so.1' , 'libbz2.dll' ]
40
+ ffi_lib [ 'bz2' , 'libbz2.so.1' , 'libbz2.dll' , 'bzip2.dll' ]
41
41
42
42
BZ_RUN = 0
43
43
BZ_FLUSH = 1
You can’t perform that action at this time.
0 commit comments