@@ -50,11 +50,11 @@ steps:
50
50
displayName : ' Install Rust (Linux/macOS)'
51
51
52
52
- script : |
53
- set -euxo pipefail
54
53
curl -sSf -o rustup-init.exe https://win.rustup.rs
55
54
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
56
55
echo ##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin
57
56
condition : eq( variables['Agent.OS'], 'Windows_NT' )
57
+ failOnStderr : true
58
58
displayName : ' Install Rust (Windows)'
59
59
60
60
- script : |
@@ -66,10 +66,7 @@ steps:
66
66
- script : rustup component add rust-src
67
67
displayName : ' Install Rustup Src Component'
68
68
69
- - script : |
70
- set -euxo pipefail
71
- cargo install cargo-xbuild --debug
72
- cargo install bootimage --debug
69
+ - script : cargo install cargo-xbuild bootimage --debug
73
70
displayName : ' Install cargo-xbuild and bootimage'
74
71
75
72
- script : sudo apt install qemu-system-x86
@@ -86,12 +83,12 @@ steps:
86
83
displayName : ' Install QEMU (macOS)'
87
84
88
85
- script : |
89
- set -euxo pipefail
90
86
choco install qemu --limit-output --no-progress
91
87
echo ##vso[task.setvariable variable=PATH;]%PATH%;C:\Program Files\qemu
92
88
set PATH=%PATH%;C:\Program Files\qemu
93
89
qemu-system-x86_64 --version
94
90
condition : eq( variables['Agent.OS'], 'Windows_NT' )
91
+ failOnStderr : true
95
92
displayName : ' Install QEMU (Windows)'
96
93
97
94
- script : cargo xbuild --target x86_64-example-kernel.json
0 commit comments