Skip to content

Commit

Permalink
Set hdf5 as workspace package
Browse files Browse the repository at this point in the history
  • Loading branch information
mulimoen committed Jan 30, 2024
1 parent 90d96e2 commit f40ac47
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ jobs:
- name: Build and test
env:
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER: wine64
run: cargo test --features hdf5-sys/static --target x86_64-pc-windows-gnu -- --skip test_compile_fail
run: cargo test --features hdf5-sys/static --target x86_64-pc-windows-gnu --exclude=hdf5-derive
- name: Build and test hdf5-derive
env:
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER: wine64
run: cargo test --package hdf5-derive --features hdf5/static --target x86_64-pc-windows-gnu

addr_san:
name: Address sanitizer
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mpi-sys = "0.2"
num-complex = { version = "0.4", default-features = false }
regex = "1.10"
# internal
hdf5 = { version = "0.8.1", path = "hdf5" } # !V
hdf5-derive = { version = "0.8.1", path = "hdf5-derive" } # !V
hdf5-src = { version = "0.8.1", path = "hdf5-src" } # !V
hdf5-sys = { version = "0.8.1", path = "hdf5-sys" } # !V
Expand Down
2 changes: 1 addition & 1 deletion hdf5-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ syn = { version = "2.0", features = ["derive", "extra-traits"]}

[dev-dependencies]
trybuild = "1.0"
hdf5 = { version = ">=0.7.1", path = "../hdf5" }
hdf5.workspace = true

0 comments on commit f40ac47

Please sign in to comment.