summaryrefslogtreecommitdiffstats
path: root/ci/test.yml
blob: ddde2722ffce5f489f8312eb53d65ec132af8d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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