Expand Azure Pipelines configuration

This commit is contained in:
Alex Crichton 2019-04-02 08:27:38 -07:00
parent 19a2b4fe07
commit 8e2f43e400
3 changed files with 50 additions and 5 deletions

View File

@ -1,7 +1,6 @@
trigger:
- master
pr:
- master
jobs:
- job: Linux
pool:
@ -10,8 +9,42 @@ jobs:
- template: ci/azure-steps.yml
strategy:
matrix:
aarch64-unknown-linux-gnu:
aarch64:
TARGET: aarch64-unknown-linux-gnu
arm:
TARGET: arm-unknown-linux-gnueabi
armhf:
TARGET: arm-unknown-linux-gnueabihf
i586:
TARGET: i586-unknown-linux-gnu
i686:
TARGET: i686-unknown-linux-gnu
mips:
TARGET: mips-unknown-linux-gnu
mips64:
TARGET: mips64-unknown-linux-gnuabi64
mips64el:
TARGET: mips64el-unknown-linux-gnuabi64
mipsel:
TARGET: mipsel-unknown-linux-gnu
powerpc:
TARGET: powerpc-unknown-linux-gnu
powerpc64:
TARGET: powerpc64-unknown-linux-gnu
powerpc64le:
TARGET: powerpc64le-unknown-linux-gnu
thumbv6m:
TARGET: thumbv6m-linux-eabi
thumbv7em:
TARGET: thumbv7em-linux-eabi
thumbv7emhf:
TARGET: thumbv7em-linux-eabihf
thumbv7m:
TARGET: thumbv7m-linux-eabi
wasm32:
TARGET: wasm32-unknown-unknown
x86_64:
TARGET: x86_64-unknown-linux-gnu
- job: macOS
pool:
@ -20,8 +53,10 @@ jobs:
- template: ci/azure-steps.yml
strategy:
matrix:
x86_64-apple-darwin:
x86_64:
TARGET: x86_64-apple-darwin
i686:
TARGET: i686-apple-darwin
- job: Windows
pool:
@ -30,5 +65,11 @@ jobs:
- template: ci/azure-steps.yml
strategy:
matrix:
i686-pc-windows-msvc:
i686-msvc:
TARGET: i686-pc-windows-msvc
x86_64-msvc:
TARGET: x86_64-pc-windows-msvc
i686-gnu:
TARGET: i686-pc-windows-gnu
x86_64-gnu:
TARGET: x86_64-pc-windows-gnu

View File

@ -1,8 +1,12 @@
steps:
- checkout: self
submodules: true
- template: azure-install-rust.yml
- bash: rustup target add $TARGET
displayName: Install compilation target
- bash: ./ci/run.sh $TARGET
condition: ne( variables['Agent.OS'], 'Linux' )
displayName: Run test script

0
ci/run-docker.sh Normal file → Executable file
View File