aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/steps-build-uhd-ubuntu-deb.yml
blob: 6ad6680f2c8984cf4b74297ecd9b690824ab2877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
- name: uhdSrcDir
  type: string
- name: uhdBuildDir
  type: string
- name: ubuntuReleaseName
  type: string

steps:
- script: |
    sudo pbuilder create --debootstrapopts --variant=buildd --distribution ${{ parameters.ubuntuReleaseName }}
  displayName: Setup pbuilder
- script: |
    mkdir -p ${{ parameters.uhdBuildDir }}
    cd ${{ parameters.uhdSrcDir }}
    python3 tools/debs/uhd_ubuntu_deb.py ${{ parameters.ubuntuReleaseName }} --buildpath ${{ parameters.uhdBuildDir }}
  displayName: Build dsc and debs