66FEATURES=$1
77CHANNEL=$2
88
9+ if [ " $CHANNEL " = " 1.51.0" ]; then
10+ cargo update --package rayon --precise 1.5.3
11+ cargo update --package rayon-core --precise 1.9.3
12+ cargo update --package serde --precise 1.0.156
13+ cargo update --package thiserror --precise 1.0.39
14+ cargo update --package once_cell --precise 1.14.0
15+ cargo update --package openblas-src --precise 0.10.5
16+ cargo update --package openblas-build --precise 0.10.5
17+
18+ cargo update --manifest-path=xtest-numeric/Cargo.toml --package thiserror --precise 1.0.39
19+ cargo update --manifest-path=xtest-numeric/Cargo.toml --package openblas-src --precise 0.10.5
20+ cargo update --manifest-path=xtest-numeric/Cargo.toml --package openblas-build --precise 0.10.5
21+ fi
22+
923cargo build --verbose --no-default-features
1024# Testing both dev and release profiles helps find bugs, especially in low level code
1125cargo test --verbose --no-default-features
@@ -17,6 +31,6 @@ cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbo
1731cargo test --manifest-path=xtest-serialization/Cargo.toml --verbose
1832cargo test --manifest-path=xtest-blas/Cargo.toml --verbose --features openblas-system
1933cargo test --examples
20- CARGO_TARGET_DIR=target/ cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose
21- CARGO_TARGET_DIR=target/ cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose --features test_blas
34+ cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose
35+ cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose --features test_blas
2236([ " $CHANNEL " != " nightly" ] || cargo bench --no-run --verbose --features " $FEATURES " )
0 commit comments