aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/stages-uhd-pipeline.yml
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2021-07-13 11:37:14 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-07-14 16:20:58 -0500
commiteaea2e2da4cd64c8e01d949349f49e12b4d61a9d (patch)
treea83a85c9669f8fbf4d4ee1d8648ad9c61be8911e /.ci/templates/stages-uhd-pipeline.yml
parent349da6e2f675bdf61d70aa4ec209b73836cc8129 (diff)
downloaduhd-eaea2e2da4cd64c8e01d949349f49e12b4d61a9d.tar.gz
uhd-eaea2e2da4cd64c8e01d949349f49e12b4d61a9d.tar.bz2
uhd-eaea2e2da4cd64c8e01d949349f49e12b4d61a9d.zip
ci: Split CI and PR pipelines for mono pipeline
Signed-off-by: Steven Koo <steven.koo@ni.com>
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)