Skip to content

Commit c607740

Browse files
committed
Use new proxied features in CI
1 parent 82c3bb9 commit c607740

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions-rs/toolchain@v1
4848
with: {toolchain: nightly, profile: minimal, override: true}
4949
- 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
5151

5252
brew:
5353
name: brew
@@ -144,14 +144,14 @@ jobs:
144144
uses: actions-rs/toolchain@v1
145145
with: {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
146146
- 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
148148
- 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
150150
if: matrix.rust != 'stable-gnu'
151151
- name: Run examples
152152
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
155155
if: matrix.rust != 'stable-gnu'
156156

157157
apt:
@@ -248,7 +248,7 @@ jobs:
248248
with: {toolchain: 1.60, profile: minimal, override: true}
249249
- name: Build and test all crates
250250
run:
251-
cargo test --workspace -vv --features=hdf5-sys/static --exclude=hdf5-derive
251+
cargo test -- --workspace -vv --features=static --exclude=hdf5-derive
252252

253253
wine:
254254
name: wine
@@ -263,7 +263,7 @@ jobs:
263263
- name: Install dependencies
264264
run: sudo apt-get update && sudo apt install wine64 mingw-w64
265265
- 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
267267
addr_san:
268268
name: Address sanitizer
269269
runs-on: ubuntu-latest
@@ -275,4 +275,4 @@ jobs:
275275
uses: actions-rs/toolchain@v1
276276
with: {toolchain: nightly, profile: minimal, override: true}
277277
- 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

Comments
 (0)