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

Commit 4023cce

Browse files
committed
Only build the cdylib with nightly
1 parent a90d24d commit 4023cce

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ jobs:
3737
TARGET: powerpc64-unknown-linux-gnu
3838
powerpc64le:
3939
TARGET: powerpc64le-unknown-linux-gnu
40-
x86_64:
40+
x86_64_stable:
4141
TARGET: x86_64-unknown-linux-gnu
42+
x86_64_nightly:
43+
TARGET: x86_64-unknown-linux-gnu
44+
TOOLCHAIN: nightly
4245

4346
- job: OSX
4447
pool:

ci/run.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ fi
2424
$CMD --features "stable checked"
2525
$CMD --release --features "stable checked ${TEST_MUSL}"
2626

27-
if [ "$TARGET" = "x86_64-unknown-linux-gnu" ] || [ "${TARGET}" = "x86_64-apple-darwin" ]; then
28-
(
29-
cd crates/libm-cdylib
30-
cargo test
31-
cargo test --release
32-
)
27+
if rustc --version | grep -E "nightly" ; then
28+
if [ "$TARGET" = "x86_64-unknown-linux-gnu" ] || [ "${TARGET}" = "x86_64-apple-darwin" ]; then
29+
(
30+
cd crates/libm-cdylib
31+
cargo test
32+
cargo test --release
33+
)
34+
fi
3335
fi

0 commit comments

Comments
 (0)