From 3b29a89b9f9a8167a595eed2988b89e2a7f2112a Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Tue, 16 Mar 2021 12:39:29 -0500 Subject: ci: Build uhd with Pipelines This commit adds the infrastructure to build uhd on both Linux and Windows using Pipelines. Using the docker images generated by the build docker pipeline, this runs an AzDO container job to build uhd artifacts. It then stores the artifacts to be used in later pipelines or stages. This change supports make and ninja on Linux and msbuild with VS2017/VS2019 x86/x64 on Windows. Signed-off-by: Steven Koo --- .ci/uhd-pipeline.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .ci/uhd-pipeline.yml (limited to '.ci/uhd-pipeline.yml') diff --git a/.ci/uhd-pipeline.yml b/.ci/uhd-pipeline.yml new file mode 100644 index 000000000..58db21be3 --- /dev/null +++ b/.ci/uhd-pipeline.yml @@ -0,0 +1,40 @@ +trigger: + branches: + include: + - master + - titanium-master + paths: + include: + - host + - .ci/uhd-pipeline.yml +pr: + branches: + include: + - master + - titanium-master + paths: + include: + - host + - .ci/uhd-pipeline.yml + +variables: +- template: uhd-pipeline-vars.yml + +resources: + pipelines: + - pipeline: uhd_build_docker_container + source: 'uhddev Build Docker Containers' + branch: master + +jobs: +- template: templates/job-get-latest-uhd-docker.yml + +- template: templates/job-uhd-build-src.yml + parameters: + toolset: make +- template: templates/job-uhd-build-src.yml + parameters: + toolset: ninja +- template: templates/job-uhd-build-src.yml + parameters: + toolset: msbuild -- cgit v1.2.3