From 0a1be828cbc1d311eb48201ebc45dfb24ce82849 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Fri, 30 Jul 2021 13:38:05 -0500 Subject: ci: Refactor installers and add Windows support This commit refactors the uhd pipeline to have a new installer stage. This also adds Windows NSIS installers to pipelines. Signed-off-by: Steven Koo --- .ci/templates/steps-build-uhd-installer-ubuntu-deb.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .ci/templates/steps-build-uhd-installer-ubuntu-deb.yml (limited to '.ci/templates/steps-build-uhd-installer-ubuntu-deb.yml') diff --git a/.ci/templates/steps-build-uhd-installer-ubuntu-deb.yml b/.ci/templates/steps-build-uhd-installer-ubuntu-deb.yml new file mode 100644 index 000000000..98a3ac556 --- /dev/null +++ b/.ci/templates/steps-build-uhd-installer-ubuntu-deb.yml @@ -0,0 +1,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 -- cgit v1.2.3