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

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