| 1 | trigger: ["master"] |
| 2 | pr: ["master"] |
| 3 | |
| 4 | resources: |
| 5 | repositories: |
| 6 | - repository: templates |
| 7 | type: github |
| 8 | name: alecmocatta/azure-pipeline-templates |
| 9 | endpoint: alecmocatta |
| 10 | |
| 11 | jobs: |
| 12 | - template: rust.yml@templates |
| 13 | parameters: |
| 14 | endpoint: alecmocatta |
| 15 | default: |
| 16 | rust_toolchain: 1.21.0 stable beta nightly |
| 17 | rust_lint_toolchain: nightly-2020-07-12 |
| 18 | rust_flags: '' |
| 19 | rust_features: ';default;all' |
| 20 | rust_target_check: '' |
| 21 | rust_target_build: '' |
| 22 | rust_target_run: '' |
| 23 | matrix: |
| 24 | windows: |
| 25 | imageName: 'windows-latest' |
| 26 | rust_target_run: 'x86_64-pc-windows-msvc' |
| 27 | mac: |
| 28 | imageName: 'macos-latest' |
| 29 | rust_target_run: 'x86_64-apple-darwin' |
| 30 | linux: |
| 31 | imageName: 'ubuntu-latest' |
| 32 | rust_target_run: 'x86_64-unknown-linux-gnu' |