Skip to content

Commit 1712b23

Browse files
committed
try aarch64 msvc
1 parent 357ad4c commit 1712b23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- aarch64-apple-darwin
2121
- x86_64-apple-darwin
2222
- x86_64-pc-windows-gnu
23+
- aarch64-pc-windows-msvc
2324

2425
steps:
2526
- uses: actions/checkout@v3
@@ -45,15 +46,16 @@ jobs:
4546
- name: Install cargo-xwin
4647
run: cargo binstall --no-confirm cargo-xwin
4748

48-
- name: Set up MinGW
49+
- name: Set up MinGW (for x86_64 Windows)
50+
if: ${{ matrix.target == 'x86_64-pc-windows-gnu' }}
4951
run: sudo apt-get install gcc-mingw-w64-x86-64 -y
5052

5153
- name: Build with cargo-zigbuild (non-Windows)
52-
if: ${{ !endsWith(matrix.target, 'windows-gnu') }}
54+
if: ${{ !endsWith(matrix.target, 'windows-gnu') && !endsWith(matrix.target, 'windows-msvc') }}
5355
run: cargo zigbuild --target ${{ matrix.target }} --release
5456

5557
- name: Build with cargo-xwin (Windows)
56-
if: ${{ endsWith(matrix.target, 'windows-gnu') }}
58+
if: ${{ endsWith(matrix.target, 'windows-gnu') || endsWith(matrix.target, 'windows-msvc') }}
5759
run: cargo xwin build --target ${{ matrix.target }} --release
5860

5961
- name: Upload artifacts

0 commit comments

Comments
 (0)