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
|
|
|
|
|
2019-04-03 00:53:05 +08:00
|
|
|
- bash: cargo generate-lockfile && ./ci/run-docker.sh $TARGET
|
2019-04-02 22:57:02 +08:00
|
|
|
condition: eq( variables['Agent.OS'], 'Linux' )
|
|
|
|
displayName: Run docker test script
|