Sha256: 57dd709bc25a20103ee85e24965566900817b2e603f067fb1251a5c03e4b1d93

Contents?: true

Size: 746 Bytes

Versions: 18

Compression:

Stored size: 746 Bytes

Contents

#!/bin/bash

set -ex

cmd="${1:-test}"

# Install cargo-hack for feature flag test
host=$(rustc -Vv | grep host | sed 's/host: //')
curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C ~/.cargo/bin

# 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

cargo doc --no-deps --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

18 entries across 18 versions & 1 rubygems

Version Path
wasmtime-23.0.2 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-22.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-21.0.1 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-20.0.2 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-20.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-18.0.3 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-17.0.1 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-17.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-16.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-15.0.1 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-15.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-14.0.4 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-14.0.3 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-14.0.1 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-14.0.0 ./ext/cargo-vendor/bytes-1.5.0/ci/test-stable.sh
wasmtime-13.0.0 ./ext/cargo-vendor/bytes-1.4.0/ci/test-stable.sh
wasmtime-12.0.1 ./ext/cargo-vendor/bytes-1.4.0/ci/test-stable.sh
wasmtime-12.0.0 ./ext/cargo-vendor/bytes-1.4.0/ci/test-stable.sh