Skip to content

Commit dced534

Browse files
hugwijstmulimoen
authored andcommitted
Add static Windows cross-compile test to CI.
1 parent 20cca1a commit dced534

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,18 @@ jobs:
205205
msiexec /i ${{env.MSI_PATH}} /quiet /qn /norestart
206206
- name: Build and test all crates
207207
run: cargo test -vv
208+
209+
wine:
210+
name: wine
211+
runs-on: ubuntu-latest
212+
steps:
213+
- name: Checkout repository
214+
uses: actions/checkout@v2
215+
with: {submodules: true}
216+
- name: Install Rust
217+
uses: actions-rs/toolchain@v1
218+
with: {toolchain: stable, target: x86_64-pc-windows-gnu, profile: minimal, override: true}
219+
- name: Install dependencies
220+
run: sudo apt-get install wine64 mingw-w64
221+
- name: Build and test
222+
run: env CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=wine64 cargo test --features hdf5-sys/static --target x86_64-pc-windows-gnu -- --skip test_compile_fail

0 commit comments

Comments
 (0)