summaryrefslogtreecommitdiffstats
path: root/third_party/rust/bumpalo/ci
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/bumpalo/ci')
-rw-r--r--third_party/rust/bumpalo/ci/install-cargo-readme.yml5
-rw-r--r--third_party/rust/bumpalo/ci/install-rust.yml14
2 files changed, 19 insertions, 0 deletions
diff --git a/third_party/rust/bumpalo/ci/install-cargo-readme.yml b/third_party/rust/bumpalo/ci/install-cargo-readme.yml
new file mode 100644
index 0000000000..3e3ad39650
--- /dev/null
+++ b/third_party/rust/bumpalo/ci/install-cargo-readme.yml
@@ -0,0 +1,5 @@
+steps:
+ - script: cargo install --vers "^3" cargo-readme
+ displayName: Install `cargo readme`
+ - script: cargo readme --version
+ displayName: Query `cargo readme` version
diff --git a/third_party/rust/bumpalo/ci/install-rust.yml b/third_party/rust/bumpalo/ci/install-rust.yml
new file mode 100644
index 0000000000..d1d0fa9243
--- /dev/null
+++ b/third_party/rust/bumpalo/ci/install-rust.yml
@@ -0,0 +1,14 @@
+steps:
+ - script: |
+ set -e
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
+ echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
+ env:
+ RUSTUP_TOOLCHAIN: ${{parameters.rust_version}}
+ displayName: Install Rust
+
+ # All platforms.
+ - script: |
+ rustc -Vv
+ cargo -V
+ displayName: Query rust and cargo versions \ No newline at end of file