aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2022-01-12 15:53:50 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-20 08:31:50 -0600
commit0610e75ba8b6e0649eafc18b2cec435b568a65dc (patch)
treebeafd4cf622f2768168529c702ce7c527a144ca6 /.ci/templates
parent396ed0c8afeb948afe7dfa4b413a865b15a8b18a (diff)
downloaduhd-0610e75ba8b6e0649eafc18b2cec435b568a65dc.tar.gz
uhd-0610e75ba8b6e0649eafc18b2cec435b568a65dc.tar.bz2
uhd-0610e75ba8b6e0649eafc18b2cec435b568a65dc.zip
ci: Add embedded builds to uhd mono pipeline
This commit adds in meta-ettus build support into mono pipline. This uses the job implementation in from meta-ettus for the existing pipelines. Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to '.ci/templates')
-rw-r--r--.ci/templates/stages-uhd-pipeline.yml74
1 files changed, 74 insertions, 0 deletions
diff --git a/.ci/templates/stages-uhd-pipeline.yml b/.ci/templates/stages-uhd-pipeline.yml
index 8aedf8eae..5e7e420a8 100644
--- a/.ci/templates/stages-uhd-pipeline.yml
+++ b/.ci/templates/stages-uhd-pipeline.yml
@@ -28,6 +28,27 @@ parameters:
- name: run_streaming_tests
type: boolean
default: false
+- name: build_sdk
+ type: boolean
+ default: false
+- name: cache_sstate
+ type: boolean
+ default: true
+- name: build_e310_sg1
+ type: boolean
+ default: true
+- name: build_e310_sg3
+ type: boolean
+ default: true
+- name: build_e320
+ type: boolean
+ default: true
+- name: build_n3xx
+ type: boolean
+ default: true
+- name: build_x4xx
+ type: boolean
+ default: true
variables:
- template: ../uhd-pipeline-vars.yml
@@ -37,6 +58,15 @@ resources:
- pipeline: uhd_build_docker_container
source: 'uhddev Build Docker Containers'
branch: master
+ - pipeline: usrp-kas-pipeline
+ source: 'usrp-kas'
+ branch: zeus-ci
+ repositories:
+ - repository: meta-ettus
+ type: github
+ name: EttusResearch/meta-ettus-dev
+ endpoint: EttusResearch
+ ref: zeus-ci
stages:
- stage: build_uhd_stage_linux
@@ -81,6 +111,50 @@ stages:
parameters:
toolset: make_homebrew_macos
+- stage: build_uhd_embedded_system_images
+ displayName: Build UHD Embedded System Images
+ dependsOn: []
+ variables:
+ AUTO_CONF: $(Agent.BuildDirectory)/auto.conf
+ jobs:
+ - template: .ci/templates/job_build_filesystem.yml@meta-ettus
+ parameters:
+ build_sdk: ${{ parameters.build_sdk }}
+ cache_sstate: ${{ parameters.cache_sstate }}
+ cache_downloads: False
+ machines:
+ - ${{ if parameters.build_e310_sg1 }}:
+ - e310_sg1
+ - ${{ if parameters.build_e310_sg3 }}:
+ - e310_sg3
+ - ${{ if parameters.build_e320 }}:
+ - e320
+ - ${{ if parameters.build_n3xx }}:
+ - n3xx
+ - ${{ if parameters.build_x4xx }}:
+ - x4xx
+ auto_conf: $AUTO_CONF
+ run_from_external_repo: true
+ prebuild_steps:
+ - script: |
+ rm $(AUTO_CONF)
+ touch $(AUTO_CONF)
+ displayName: create auto.conf
+ - template: .ci/templates/oe_localconf_externalsrc.yml@meta-ettus
+ parameters:
+ conf_file: $AUTO_CONF
+ repository: self
+ package_paths:
+ - package: uhd
+ path: host
+ - package: mpmd
+ path: mpm
+ postbuild_steps:
+ - script: |
+ rm $(AUTO_CONF)
+ displayName: delete auto.conf
+ condition: always()
+
- stage: build_uhd_installer_stage_linux
displayName: Build UHD Installers Linux
dependsOn: build_uhd_stage_linux