2019-04-02 22:57:02 +08:00
|
|
|
steps:
|
2019-04-02 22:58:12 +08:00
|
|
|
- checkout: self
|
|
|
|
submodules: true
|
2019-04-02 23:27:38 +08:00
|
|
|
|
2019-04-02 22:57:02 +08:00
|
|
|
- template: azure-install-rust.yml
|
|
|
|
|
2019-04-02 23:27:38 +08:00
|
|
|
- bash: rustup target add $TARGET
|
|
|
|
displayName: Install compilation target
|
|
|
|
|
2019-04-02 22:57:02 +08:00
|
|
|
- bash: ./ci/run.sh $TARGET
|
|
|
|
condition: ne( variables['Agent.OS'], 'Linux' )
|
|
|
|
displayName: Run test script
|
|
|
|
|
|
|
|
- bash: ./ci/run-docker.sh $TARGET
|
|
|
|
condition: eq( variables['Agent.OS'], 'Linux' )
|
|
|
|
displayName: Run docker test script
|