Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 0072e74

Browse files
committed
Disable util and libm-macros for optimized tests
These crates take time building in CI, especially with the release profile having LTO enabled, but there isn't really any reason to test them with different features or in release mode. Disable this to save some CI runtime.
1 parent 01384e8 commit 0072e74

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci/run.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,14 @@ if [ "${BUILD_ONLY:-}" = "1" ]; then
7777
else
7878
cmd="cargo test --all --target $target $extra_flags"
7979

80-
# Test once without intrinsics, once with intrinsics enabled
80+
# Test once without intrinsics
8181
$cmd
82+
83+
# Exclude the macros and utile crates from the rest of the tests to save CI
84+
# runtime, they shouldn't have anything feature- or opt-level-dependent.
85+
cmd="$cmd --exclude util --exclude libm-macros"
86+
87+
# Test once with intrinsics enabled
8288
$cmd --features unstable-intrinsics
8389
$cmd --features unstable-intrinsics --benches
8490

0 commit comments

Comments
 (0)