summaryrefslogtreecommitdiffstats
path: root/.github/azure-pipelines.yml
blob: 4b529032b8387bdfc6392db71539cf66e0a80d93 (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
29
30
31
32
33
34
35
---
# Do not run following tests
# - exclude data varification tests, too slow
#   - nvme/010
#   - nvme/011
#   - nvme/012
#   - nvme/013

trigger: none # Disable CI triggers.

jobs:
  - job: blktests
    timeoutInMinutes: 5
    pool:
      name: linux-nvme
    steps:
      - script: |
          meson $(Agent.TempDirectory)/build
          ninja -C $(Agent.TempDirectory)/build
        displayName: Build nvme-cli
      - script: |
          git clone --depth 1 https://github.com/osandov/blktests.git $(Agent.TempDirectory)/blktests
        displayName: Clone blktests
      - script: |
          cd $(Agent.TempDirectory)/blktests
          sudo sh -c 'PATH=$(Agent.TempDirectory)/build:$PATH nvme_trtype=tcp ./check -x nvme/010 -x nvme/011 -x nvme/012 -x nvme/013 nvme'
        displayName: Run blktests for NVMe transport TCP
      - script: |
          cd $(Agent.TempDirectory)/blktests
          sudo sh -c 'PATH=$(Agent.TempDirectory)/build:$PATH nvme_trtype=rdma ./check -x nvme/010 -x nvme/011 -x nvme/012 -x nvme/013 nvme'
        displayName: Run blktests for NVMe transport RDMA
      - script: |
          cd $(Agent.TempDirectory)/blktests
          sudo sh -c 'PATH=$(Agent.TempDirectory)/build:$PATH nvme_trtype=fc ./check -x nvme/010 -x nvme/011 -x nvme/012 -x nvme/013 nvme'
        displayName: Run blktests for NVMe transport FC