Skip to content

Commit ebe2559

Browse files
committed
update
1 parent 22c4867 commit ebe2559

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test-java-bindings-new.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- x86_64-unknown-linux-gnu
2020
- aarch64-apple-darwin
2121
- x86_64-apple-darwin
22-
# - x86_64-pc-windows-gnu
22+
- x86_64-pc-windows-gnu
2323

2424
steps:
2525
- uses: actions/checkout@v3
@@ -31,9 +31,6 @@ jobs:
3131
target: ${{ matrix.target }}
3232
override: true
3333

34-
- name: Install llvm-preview-tools
35-
if: ${{ endsWith(matrix.target, 'windows-gnu') }}
36-
run: rustup component add llvm-tools-preview
3734
- name: Install cargo-binstall
3835
uses: taiki-e/install-action@cargo-binstall
3936

@@ -48,6 +45,12 @@ jobs:
4845
- name: Install cargo-xwin
4946
run: cargo binstall --no-confirm cargo-xwin
5047

48+
- name: Set up MinGW
49+
if: ${{ endsWith(matrix.target, 'windows-gnu') }}
50+
uses: egor-tensin/setup-mingw@v2
51+
with:
52+
platform: x64
53+
5154
- name: Build with cargo-zigbuild (non-Windows)
5255
if: ${{ !endsWith(matrix.target, 'windows-gnu') }}
5356
run: cargo zigbuild --target ${{ matrix.target }} --release

0 commit comments

Comments
 (0)