Files
tokio/ci/azure-cross-compile.yml
T

28 lines
736 B
YAML
Raw Normal View History

2019-03-01 09:12:21 -08:00
jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
pool:
vmImage: ubuntu-16.04
steps:
- template: azure-install-rust.yml
parameters:
rust_version: stable
2019-05-24 14:08:07 -07:00
- script: sudo apt-get update
displayName: "apt-get update"
2019-03-01 09:12:21 -08:00
- script: sudo apt-get install gcc-multilib
displayName: "Install gcc-multilib"
- script: rustup target add ${{ parameters.target }}
displayName: "Add target"
# Always patch
- template: azure-patch-crates.yml
2019-03-01 09:12:21 -08:00
- script: cargo check --all --exclude tokio-tls --target ${{ parameters.target }}
displayName: Check source
- script: cargo check --tests --all --exclude tokio-tls --target ${{ parameters.target }}
displayName: Check tests