summaryrefslogtreecommitdiff
path: root/cc/ci/azure-steps.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-05-24 18:08:42 -0700
committerDaniel Mueller <deso@posteo.net>2019-05-24 18:08:42 -0700
commitb637d5284c6117da3bfeb471da7c62e53a632621 (patch)
treeb96df01ed2c0f14a02a6ec62de7d834c153435f0 /cc/ci/azure-steps.yml
parent82cf43dd887801b8b22b8aae8c02854d921915d5 (diff)
downloadnitrocli-b637d5284c6117da3bfeb471da7c62e53a632621.tar.gz
nitrocli-b637d5284c6117da3bfeb471da7c62e53a632621.tar.bz2
Update cc crate to 1.0.37
This change updates the cc crate to version 1.0.37. Import subrepo cc/:cc at cbf6d2f1312b6be22a7a363cf5c2a02acabc531f
Diffstat (limited to 'cc/ci/azure-steps.yml')
-rw-r--r--cc/ci/azure-steps.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/cc/ci/azure-steps.yml b/cc/ci/azure-steps.yml
new file mode 100644
index 0000000..c240ed0
--- /dev/null
+++ b/cc/ci/azure-steps.yml
@@ -0,0 +1,21 @@
+steps:
+ - template: azure-install-rust.yml
+ - bash: rustup target add $TARGET
+ displayName: Install Rust target
+
+ - bash: sudo apt-get install g++-multilib
+ condition: eq( variables['Agent.OS'], 'Linux' )
+ displayName: Install g++-multilib
+
+ - script: cargo build
+ displayName: "Normal build"
+ - bash: cargo test $NO_RUN -- --test-threads 1
+ displayName: "Crate tests"
+ - bash: cargo test $NO_RUN --features parallel -- --test-threads 1
+ displayName: "Crate tests (parallel)"
+ - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET
+ displayName: "cc-test tests"
+ - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel
+ displayName: "cc-test tests (parallel)"
+ - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --release
+ displayName: "cc-test tests (release)"