aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/stages-uhd-pipeline.yml
diff options
context:
space:
mode:
Diffstat (limited to '.ci/templates/stages-uhd-pipeline.yml')
-rw-r--r--.ci/templates/stages-uhd-pipeline.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.ci/templates/stages-uhd-pipeline.yml b/.ci/templates/stages-uhd-pipeline.yml
new file mode 100644
index 000000000..99c607e03
--- /dev/null
+++ b/.ci/templates/stages-uhd-pipeline.yml
@@ -0,0 +1,44 @@
+#
+# Copyright 2021 Ettus Research, a National Instruments Brand
+#
+# SPDX-License-Identifier: LGPL-3.0-or-later
+#
+
+variables:
+- template: ../uhd-pipeline-vars.yml
+
+resources:
+ pipelines:
+ - pipeline: uhd_build_docker_container
+ source: 'uhddev Build Docker Containers'
+ branch: master
+stages:
+- stage: build_uhd_stage
+ displayName: Build UHD
+ jobs:
+ - template: job-get-latest-uhd-docker.yml
+
+ - template: job-uhd-build-src.yml
+ parameters:
+ toolset: make
+ - template: job-uhd-build-src.yml
+ parameters:
+ toolset: make_trace
+ - template: job-uhd-build-src.yml
+ parameters:
+ toolset: ninja
+ - template: job-uhd-build-src.yml
+ parameters:
+ toolset: msbuild
+ - template: job-uhd-build-src.yml
+ parameters:
+ toolset: ubuntu_deb
+
+- stage: test_uhd_stage
+ displayName: Test UHD
+ dependsOn: build_uhd_stage
+ jobs:
+ - template: job-uhd-devtest-rhombus.yml
+ parameters:
+ testOS: ubuntu2004
+ uhdSrcDir: $(Build.SourcesDirectory)