mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: ${{ parameters.displayName }}
|
|
strategy:
|
|
matrix:
|
|
i686:
|
|
vmImage: ubuntu-16.04
|
|
target: i686-unknown-linux-gnu
|
|
powerpc:
|
|
vmImage: ubuntu-16.04
|
|
target: powerpc-unknown-linux-gnu
|
|
powerpc64:
|
|
vmImage: ubuntu-16.04
|
|
target: powerpc64-unknown-linux-gnu
|
|
mips:
|
|
vmImage: ubuntu-16.04
|
|
target: mips-unknown-linux-gnu
|
|
arm:
|
|
vmImage: ubuntu-16.04
|
|
target: arm-linux-androideabi
|
|
pool:
|
|
vmImage: $(vmImage)
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: ${{ parameters.rust }}
|
|
|
|
- script: sudo apt-get update
|
|
displayName: apt-get update
|
|
|
|
- script: sudo apt-get install gcc-multilib
|
|
displayName: Install gcc-multilib
|
|
|
|
- script: cargo install cross
|
|
displayName: Install cross
|
|
|
|
# Always patch
|
|
- template: azure-patch-crates.yml
|
|
|
|
- script: cross check --all --exclude tokio-tls --target $(target)
|
|
displayName: Check source
|
|
|
|
# - script: cross check --tests --all --exclude tokio-tls --target $(target)
|
|
# displayName: Check tests
|