forked from aloucks/directx_math
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
29 lines (24 loc) · 1.45 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
set -x -e
# cargo test
# cargo test --features no_intrinsics
# RUSTFLAGS="-C target-cpu=native" cargo test
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_avx2
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_avx
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_fma3
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_sse4
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_sse3
# RUSTFLAGS="-C target-cpu=native" cargo test --features no_intrinsics
# RUSTFLAGS="-C target-feature=+avx2,sse4.1" cargo test
RUSTFLAGS="-C target-cpu=x86-64" cargo test
RUSTFLAGS="-C target-cpu=x86-64" cargo test --features="no_intrinsics"
RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+sse3" cargo test
RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+sse3,+sse4.1" cargo test
RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+sse3,+sse4.1,+avx" cargo test
RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+sse3,+sse4.1,+avx,+fma" cargo test
RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+sse3,+sse4.1,+avx,+fma,+avx2" cargo test
RUSTFLAGS="-C target-cpu=x86-64" cargo +nightly test --features="specialization"
RUSTFLAGS="-C target-cpu=x86-64" cargo +nightly test --features="specialization,no_intrinsics"
cargo +nightly build --target aarch64-pc-windows-msvc
cargo +nightly build --target aarch64-pc-windows-msvc --features="no_intrinsics"
cargo +nightly build --target aarch64-pc-windows-msvc --no-default-features