aboutsummaryrefslogtreecommitdiff
path: root/pipelines/steps.yml
blob: 9557ab71a4bdc7a531f14c4499050d345236213d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
steps:
  - task: CMake@1
    name: Configure
    inputs:
      workingDirectory: build
      cmakeArgs: '-DCMAKE_CXX_STANDARD=$(GSL_CXX_STANDARD) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) .. '

  - task: CMake@1
    name: Build
    inputs:
      workingDirectory: build
      cmakeArgs: '--build . '

  - script: ctest . --output-on-failure --no-compress-output
    name: CTest
    workingDirectory: build
    failOnStderr: true