Skip to content

Commit 0301471

Browse files
committed
chore: Additional CI environments for rust beta and nightly toolchains.
1 parent 8b538ea commit 0301471

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

ci/run_tests_pipeline.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ stages:
2020
imageName: "ubuntu-latest"
2121
poolName: "Azure Pipelines"
2222
BUILD_WITH_MINGW: "0"
23+
linux-stable:
24+
imageName: "ubuntu-latest"
25+
poolName: "Azure Pipelines"
26+
BUILD_WITH_MINGW: "0"
27+
toolchain: "stable"
28+
linux-beta:
29+
imageName: "ubuntu-latest"
30+
poolName: "Azure Pipelines"
31+
BUILD_WITH_MINGW: "0"
32+
toolchain: "beta"
33+
linux-nightly:
34+
imageName: "ubuntu-latest"
35+
poolName: "Azure Pipelines"
36+
BUILD_WITH_MINGW: "0"
37+
toolchain: "nightly"
2338
mac:
2439
imageName: "macos-latest"
2540
poolName: "Azure Pipelines"
@@ -45,6 +60,11 @@ stages:
4560
fetchDepth: 1
4661
lfs: false
4762
submodules: false
63+
- script: |
64+
rustup update $(toolchain)
65+
rustup default $(toolchain)
66+
condition: ne(variables['toolchain'], '')
67+
displayName: "Update and set Rust toolchain"
4868
- script: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
4969
env:
5070
JAVA_HOME: $(JAVA_HOME_11_X64)

0 commit comments

Comments
 (0)