47
47
uses : actions-rs/toolchain@v1
48
48
with : {toolchain: nightly, profile: minimal, override: true}
49
49
- name : Document workspace
50
- run : env RUSTDOCFLAGS="--cfg docsrs" cargo doc --features hdf5-sys/ static,hdf5-sys/ zlib,blosc,lzf
50
+ run : env RUSTDOCFLAGS="--cfg docsrs" cargo doc --features static,zlib,blosc,lzf
51
51
52
52
brew :
53
53
name : brew
@@ -144,14 +144,14 @@ jobs:
144
144
uses : actions-rs/toolchain@v1
145
145
with : {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
146
146
- name : Build and test all crates
147
- run : cargo test --workspace -v --features hdf5-sys/ static,hdf5-sys/ zlib,hdf5-src/ ${{matrix.h5version}} --exclude hdf5-derive
147
+ run : cargo test --workspace -v --features static,zlib,${{matrix.h5version}}_or_later --exclude hdf5-derive
148
148
- name : Build and test with filters
149
- run : cargo test --workspace -v --features hdf5-sys/ static,hdf5-sys/ zlib,lzf,blosc,hdf5-src/ ${{matrix.h5version}} --exclude hdf5-derive
149
+ run : cargo test --workspace -v --features static,zlib,lzf,blosc,${{matrix.h5version}}_or_later --exclude hdf5-derive
150
150
if : matrix.rust != 'stable-gnu'
151
151
- name : Run examples
152
152
run : |
153
- cargo r --example simple --features hdf5-sys/ static,hdf5-sys/ zlib,lzf,blosc
154
- cargo r --example chunking --features hdf5-sys/ static,hdf5-sys/ zlib,lzf,blosc
153
+ cargo r --example simple --features static,zlib,lzf,blosc
154
+ cargo r --example chunking --features static,zlib,lzf,blosc
155
155
if : matrix.rust != 'stable-gnu'
156
156
157
157
apt :
@@ -248,7 +248,7 @@ jobs:
248
248
with : {toolchain: 1.60, profile: minimal, override: true}
249
249
- name : Build and test all crates
250
250
run :
251
- cargo test --workspace -vv --features=hdf5-sys/ static --exclude=hdf5-derive
251
+ cargo test -- -- workspace -vv --features=static --exclude=hdf5-derive
252
252
253
253
wine :
254
254
name : wine
@@ -263,7 +263,7 @@ jobs:
263
263
- name : Install dependencies
264
264
run : sudo apt-get update && sudo apt install wine64 mingw-w64
265
265
- name : Build and test
266
- 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
266
+ run : env CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=wine64 cargo test --features static --target x86_64-pc-windows-gnu -- --skip test_compile_fail
267
267
addr_san :
268
268
name : Address sanitizer
269
269
runs-on : ubuntu-latest
@@ -275,4 +275,4 @@ jobs:
275
275
uses : actions-rs/toolchain@v1
276
276
with : {toolchain: nightly, profile: minimal, override: true}
277
277
- name : Run test with sanitizer
278
- run : env RUSTFLAGS="-Z sanitizer=address" cargo test --features hdf5-sys/ static --target x86_64-unknown-linux-gnu --workspace --exclude hdf5-derive
278
+ run : env RUSTFLAGS="-Z sanitizer=address" cargo test --features static --target x86_64-unknown-linux-gnu --workspace --exclude hdf5-derive
0 commit comments