aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/uhd-pipeline.yml
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2021-03-22 11:53:37 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-04-16 15:08:11 -0500
commit64ea8d91f855bd537cff0bb98560e878819cb6d4 (patch)
tree435171ae14ebd9050ac0a48aff1ccab789af9628 /.ci/uhd-pipeline.yml
parent1efdc3a7f6cba76cf475dbc8cc0862981981f9e0 (diff)
downloaduhd-64ea8d91f855bd537cff0bb98560e878819cb6d4.tar.gz
uhd-64ea8d91f855bd537cff0bb98560e878819cb6d4.tar.bz2
uhd-64ea8d91f855bd537cff0bb98560e878819cb6d4.zip
ci: support for x3xx devtest on rhombus
Rhombus is a test suite that is intended run devtests for multiple devices in parallel. This commit adds support for x300 and x310 support. This uses redis to mutex access to the hardware between Azure Pipeline agents. This also updates the fpga using Vivado over ssh to the host machine. Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to '.ci/uhd-pipeline.yml')
-rw-r--r--.ci/uhd-pipeline.yml33
1 files changed, 22 insertions, 11 deletions
diff --git a/.ci/uhd-pipeline.yml b/.ci/uhd-pipeline.yml
index 58db21be3..481e5a03d 100644
--- a/.ci/uhd-pipeline.yml
+++ b/.ci/uhd-pipeline.yml
@@ -25,16 +25,27 @@ resources:
- pipeline: uhd_build_docker_container
source: 'uhddev Build Docker Containers'
branch: master
+stages:
+- stage: build_uhd_stage
+ displayName: Build UHD
+ jobs:
+ - template: templates/job-get-latest-uhd-docker.yml
-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
-- 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
+- stage: test_uhd_stage
+ displayName: Test UHD
+ dependsOn: build_uhd_stage
+ jobs:
+ - template: templates/job-uhd-devtest-rhombus.yml
+ parameters:
+ testOS: ubuntu2004
+ uhdSrcDir: $(Build.SourcesDirectory)