aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/steps-build-uhd-make.yml
blob: 22cb60cc9b17ef4ac3eb6c0a7da0382fe65d9cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
- name: uhdSrcDir
  type: string
- name: uhdBuildDir
  type: string

steps:
- script: |
    mkdir -p ${{ parameters.uhdBuildDir }}
    cd ${{ parameters.uhdBuildDir }}
    cmake ${{ parameters.uhdSrcDir }}/host
  displayName: cmake make UHD
- script: |
    cd ${{ parameters.uhdBuildDir }}
    make -j$(nproc)
  displayName: make UHD
- script: |
    cd ${{ parameters.uhdBuildDir }}
    ctest --no-compress-output --output-on-failure -T test
  continueOnError: true
  displayName: ctest make UHD