Debian Codegraph @

debian/missing-sources/glam-0.20.5/build_and_test_features.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -e
4
5 # Set of features to build & test.
6 FEATURE_SETS=(
7 # std
8 "std"
9 "std approx bytemuck mint rand serde debug-glam-assert transform-types"
10 "std scalar-math approx bytemuck mint rand serde debug-glam-assert transform-types"
11 "std cuda"
12 "std scalar-math cuda"
13 # no_std
14 "libm"
15 "libm scalar-math approx bytemuck mint rand serde debug-glam-assert transform-types"
16 )
17
18 rustc --version
19
20 for features in "${FEATURE_SETS[@]}"
21 do
22 :
23 cargo build --tests --no-default-features --features="$features"
24 echo cargo test --no-default-features --features=\"$features\"
25 cargo test --no-default-features --features="$features"
26 done
27
28 pushd test_no_std && cargo check