29389e8f72
This was showing up as `check_formatting Job`, see https://dev.azure.com/graphql-rust/GraphQL%20Rust/_build/results?buildId=162
29 lines
679 B
YAML
29 lines
679 B
YAML
jobs:
|
|
|
|
- job: check_formatting
|
|
displayName: Check formatting
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
steps:
|
|
- script: |
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
$HOME/.cargo/bin/rustup component add rustfmt
|
|
displayName: Install stable Rust
|
|
- script: |
|
|
$HOME/.cargo/bin/cargo fmt -- --check
|
|
displayName: Run rustfmt
|
|
|
|
- template: _build/azure-pipelines-template.yml
|
|
parameters:
|
|
name: Linux
|
|
vmImage: ubuntu-16.04
|
|
|
|
- template: _build/azure-pipelines-template.yml
|
|
parameters:
|
|
name: macOS
|
|
vmImage: macOS-10.13
|
|
|
|
- template: _build/azure-pipelines-template.yml
|
|
parameters:
|
|
name: Windows
|
|
vmImage: vs2017-win2016
|