mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 21:57:41 +00:00
29 lines
687 B
YAML
29 lines
687 B
YAML
parameters:
|
|
rust_version: stable
|
|
|
|
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: ${{ parameters.displayName }} ${{parameters.rust_version}}
|
|
strategy:
|
|
matrix:
|
|
Linux:
|
|
vmImage: ubuntu-16.04
|
|
|
|
${{ if parameters.cross }}:
|
|
MacOS:
|
|
vmImage: macOS-10.13
|
|
# Temporarily disable Windows support
|
|
# Windows:
|
|
# vmImage: vs2017-win2016
|
|
pool:
|
|
vmImage: $(vmImage)
|
|
|
|
steps:
|
|
- template: install-rust.yml
|
|
- template: setup-test-env.yml
|
|
- script: |
|
|
cargo test -- -Z unstable-options --include-ignored
|
|
env:
|
|
CI: "true"
|
|
displayName: cargo test
|