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

Commit a549e37

Browse files
committed
Run libm-cdylib tests; add OSX test jobs
1 parent 4db1c4f commit a549e37

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

azure-pipelines.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ jobs:
4040
x86_64:
4141
TARGET: x86_64-unknown-linux-gnu
4242

43+
- job: OSX
44+
pool:
45+
vmImage: macos-10.13
46+
steps:
47+
- template: ci/azure-install-rust.yml
48+
- bash: |
49+
rustup target add $TARGET
50+
sh ./ci/run.sh $TARGET
51+
strategy:
52+
matrix:
53+
i686-apple-darwin:
54+
TARGET: i686-apple-darwin
55+
TOOLCHAIN: nightly
56+
x86_64-apple-darwin:
57+
TARGET: x86_64-apple-darwin
58+
TOOLCHAIN: nightly
59+
4360
- job: wasm
4461
pool:
4562
vmImage: ubuntu-16.04

ci/run.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ $CMD --release --features 'stable'
1313

1414
$CMD --features 'stable checked musl-reference-tests'
1515
$CMD --release --features 'stable checked musl-reference-tests'
16+
17+
if [ "$TARGET" = "x86_64-unknown-linux-gnu" ] || [ "${TARGET}" = "x86_64-apple-darwin" ]; then
18+
(
19+
cd crates/libm-cdylib
20+
cargo test
21+
cargo test --release
22+
)
23+
fi

0 commit comments

Comments
 (0)