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

Commit 164560a

Browse files
committed
Disable musl reference tests on OSX
1 parent a549e37 commit 164560a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ci/run.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ CMD="cargo test --all --no-default-features --target $TARGET"
88
$CMD
99
$CMD --release
1010

11-
$CMD --features 'stable'
12-
$CMD --release --features 'stable'
11+
$CMD --features "stable"
12+
$CMD --release --features "stable"
1313

14-
$CMD --features 'stable checked musl-reference-tests'
15-
$CMD --release --features 'stable checked musl-reference-tests'
14+
TEST_MUSL="musl-reference-tests"
15+
if [ "$TARGET" = "x86_64-apple-darwin" ] || [ "$TARGET" = "i686-apple-darwin" ] ; then
16+
# FIXME: disable musl-reference-tests on OSX
17+
export TEST_MUSL=""
18+
fi
19+
20+
$CMD --features "stable checked"
21+
$CMD --release --features "stable checked ${TEST_MUSL}"
1622

1723
if [ "$TARGET" = "x86_64-unknown-linux-gnu" ] || [ "${TARGET}" = "x86_64-apple-darwin" ]; then
1824
(

0 commit comments

Comments
 (0)