sd/.ci/azure-pipelines.yml

36 lines
735 B
YAML
Raw Normal View History

2019-03-02 22:17:44 -05:00
trigger:
batch: true
branches:
include: [master] # branch names which will trigger a build
pr:
autoCancel: true
branches:
include: [master]
jobs:
- job: test
displayName: Typecheck & test
pool:
vmImage: ubuntu-16.04
steps:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: Install Rust stable
- script: |
cd binary
cargo test
displayName: cargo test
2019-03-02 22:19:46 -05:00
- template: template.yml
2019-03-02 22:17:44 -05:00
parameters:
name: Linux
vmImage: ubuntu-16.04
target: x86_64-unknown-linux-gnu
2019-03-02 22:19:46 -05:00
- template: template.yml
2019-03-02 22:17:44 -05:00
parameters:
name: macOS
vmImage: macOS-10.13
target: x86_64-apple-darwin