forked from RWTH-OS/eduOS-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
42 lines (42 loc) · 1.44 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
sudo apt-get -qq update
sudo apt-get install -y curl wget nasm make gcc g++ build-essential
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
export PATH=$PATH:~/.cargo/bin
cargo install cargo-xbuild
cargo install --git https://github.com/RWTH-OS/ehyve.git
rustup component add rust-src
make
lscpu
displayName: 'Test eduOS-rs on Ubuntu 16.04'
- job: macOS
pool:
vmImage: 'macOS-10.13'
steps:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
export PATH=$PATH:$HOME/.cargo/bin
cargo install cargo-xbuild
cargo install --git https://github.com/RWTH-OS/ehyve.git
rustup component add rust-src
make
displayName: 'Test eduOS-rs on macOS'
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- powershell: |
Invoke-WebRequest -OutFile rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
./rustup-init.exe -y --default-toolchain nightly | Out-Null
Remove-Item -Path "rustup-init.exe"
$env:Path += ";" + $env:UserProfile + "\.cargo\bin"
cargo install cargo-xbuild
cargo install --git https://github.com/RWTH-OS/ehyve.git
rustup component add rust-src
cargo xbuild --target x86_64-eduos.json
displayName: 'Test eduOS-rs on Windows'