Browse Source

Remove Azure Pipelines conf

pull/502/head
Jakub Konka 5 years ago
parent
commit
1c5422e052
  1. 65
      .azure-pipelines.yml

65
.azure-pipelines.yml

@ -1,65 +0,0 @@
name: $(Build.SourceBranch)-$(date:yyyyMMdd)$(rev:.r)
trigger:
branches:
include:
- '*'
jobs:
- job: Build
strategy:
matrix:
windows-stable:
imageName: 'vs2017-win2016'
rustup_toolchain: stable
linux-stable:
imageName: 'ubuntu-16.04'
rustup_toolchain: stable
mac-stable:
imageName: 'macos-10.14'
rustup_toolchain: stable
pool:
vmImage: $(imageName)
steps:
- checkout: self
submodules: true
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
export PATH=$PATH:$HOME/.cargo/bin
rustup update $RUSTUP_TOOLCHAIN
rustup default $RUSTUP_TOOLCHAIN
rustc --version
displayName: Install rust (*nix)
condition: ne( variables['Agent.OS'], 'Windows_NT' )
- script: |
rustup update %RUSTUP_TOOLCHAIN%
rustup default %RUSTUP_TOOLCHAIN%
rustc --version
displayName: Install rust (Win)
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: rustup target add wasm32-wasi
displayName: Install wasm32-wasi target
- script: |
powershell -Command "$ProgressPreference = 'SilentlyContinue'; iwr -outf %TEMP%\LLVM-8.0.0-win64.exe https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror/LLVM-8.0.0-win64.exe"
%TEMP%\LLVM-8.0.0-win64.exe /S /NCRC
condition: eq(variables['Agent.OS'], 'Windows_NT')
displayName: Install clang (Win)
- script: cargo fetch
displayName: Fetch cargo dependencies
- script: |
rustup component add rustfmt
rustup component list
cargo fmt --all -- --check
condition: eq( variables['rustup_toolchain'], 'stable' )
displayName: Check formatting
- script: cargo build --release
displayName: Cargo build release
- script: cargo build
displayName: Cargo build
- bash: RUST_BACKTRACE=1 cargo test --features wasm_tests --all
displayName: Cargo test
- script: cargo doc
condition: eq(variables['Agent.OS'], 'Darwin')
displayName: Cargo doc
Loading…
Cancel
Save