Sha256: b21b9265d8d65c1f3d50c64e40d41c66a870d897325119d1f78d601727bbb562

Contents?: true

Size: 491 Bytes

Versions: 8

Compression:

Stored size: 491 Bytes

Contents

#!/bin/bash

set -ex

cmd="${1:-test}"

# Run with each feature
# * --each-feature includes both default/no-default features
# * --optional-deps is needed for serde feature
cargo hack "${cmd}" --each-feature --optional-deps
# Run with all features
cargo "${cmd}" --all-features

if [[ "${RUST_VERSION}" == "nightly"* ]]; then
    # Check benchmarks
    cargo check --benches

    # Check minimal versions
    cargo clean
    cargo update -Zminimal-versions
    cargo check --all-features
fi

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/bytes-1.9.0/ci/test-stable.sh
wasmtime-28.0.0 ./ext/cargo-vendor/bytes-1.9.0/ci/test-stable.sh
wasmtime-27.0.0 ./ext/cargo-vendor/bytes-1.8.0/ci/test-stable.sh
wasmtime-26.0.0 ./ext/cargo-vendor/bytes-1.8.0/ci/test-stable.sh
wasmtime-25.0.2 ./ext/cargo-vendor/bytes-1.7.1/ci/test-stable.sh
wasmtime-25.0.1 ./ext/cargo-vendor/bytes-1.7.1/ci/test-stable.sh
wasmtime-25.0.0 ./ext/cargo-vendor/bytes-1.7.1/ci/test-stable.sh
wasmtime-24.0.0 ./ext/cargo-vendor/bytes-1.7.1/ci/test-stable.sh