Skip to content

Commit b90a266

Browse files
committed
Adding minwin32 support
1 parent 49807d6 commit b90a266

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/host_tools.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
[macos-latest, arm64, bash],
2323
[macos-13, x86_64, bash],
2424
[ubuntu-latest, x86_64, bash],
25+
[windows-latest, x86_64, msys2]
2526
]
2627
fail-fast: false
2728
defaults:
@@ -43,6 +44,17 @@ jobs:
4344
brew update
4445
brew install libusb gcc
4546
47+
- name: Install MSYS2 packages
48+
if: matrix.os[0] == 'windows-latest'
49+
uses: msys2/setup-msys2@v2
50+
with:
51+
msystem: MINGW32
52+
install: |
53+
base-devel git make
54+
mingw-w64-x86_64-libusb
55+
mingw-w64-i686-gcc
56+
update: true
57+
4658
- name: Compile tools
4759
run: |
4860
make --quiet -j $PROC_NR -C usbhostfs_pc

0 commit comments

Comments
 (0)