Skip to content

Commit

Permalink
Update CI and propagate regenerate-bindings to blosc2-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed May 7, 2024
1 parent d984dca commit b1ec97b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Build
shell: bash -el {0}
run: cargo build ${{ matrix.flags }}
run: cargo build ${{ matrix.flags }} --release

- name: Test
# Running tests using shared library is ugly since conda doesn't
Expand All @@ -69,7 +69,7 @@ jobs:
# shared library within the conda environment.
if: ${{ matrix.flags == '--features static' }}
shell: bash -el {0}
run: cargo test ${{ matrix.flags }}
run: cargo test ${{ matrix.flags }} --release

test-musllinux:
runs-on: ubuntu-latest
Expand All @@ -85,7 +85,7 @@ jobs:
run: cargo install cross --git https://github.com/cross-rs/cross --rev 6d097fb

- name: Test
run: cross test --target x86_64-unknown-linux-musl --no-default-features --features static
run: cross test --target x86_64-unknown-linux-musl --no-default-features --features static --release

test-native:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -113,9 +113,9 @@ jobs:
# Known issue where testing w/ shared linked lib doesn't work with --doc testing
- name: Test (shared)
run: cargo test --features shared --lib -vv
run: cargo test --features shared --lib -vv --release

- name: Test (static)
run: |
cargo clean # ensure we're starting fresh, no funny business
cargo test --no-default-features --features static -vv
cargo test --no-default-features --features static -vv --release
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ name = "blosc2"
[features]
default = ["shared"]
use-system-blosc2 = ["blosc2-sys/use-system-blosc2"]
regenerate-bindings = ["blosc2-sys/regenerate-bindings"]
static = ["blosc2-sys/static"]
shared = ["blosc2-sys/shared"]

Expand Down

0 comments on commit b1ec97b

Please sign in to comment.