Skip to content

Commit 0714709

Browse files
committed
ci: try build windows
1 parent 68bc618 commit 0714709

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/windows.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
build_windows:
2828
runs-on: windows-2022
2929
env:
30-
USE_BAZEL_VERSION: "6.0.0"
30+
USE_BAZEL_VERSION: "6.5.0"
31+
LIBUSB_VERSION: "1.0.27"
3132

3233
steps:
3334
- name: Checkout
@@ -39,6 +40,15 @@ jobs:
3940
with:
4041
arch: x64
4142

43+
- name: Install dependencies
44+
shell: bash
45+
run: |
46+
python -m pip install six numpy wheel
47+
choco install -y 7zip
48+
mkdir -p /c/windows/temp
49+
curl -fSL "https://github.com/libusb/libusb/releases/download/v${LIBUSB_VERSION}/libusb-${LIBUSB_VERSION}.7z" -o /c/windows/temp/libusb-${LIBUSB_VERSION}.7z
50+
7z x -o/c/libusb /c/windows/temp/libusb-${LIBUSB_VERSION}.7z
51+
4252
- name: Compile
4353
shell: bash
4454
run: |

0 commit comments

Comments
 (0)