aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
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
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')
-rw-r--r--.ci/templates/stages-uhd-pipeline.yml74
-rw-r--r--.ci/uhd-pipeline-pr.yml35
-rw-r--r--.ci/uhd-pipeline.yml35
3 files changed, 144 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
diff --git a/.ci/uhd-pipeline-pr.yml b/.ci/uhd-pipeline-pr.yml
index 430b7001a..a4768465e 100644
--- a/.ci/uhd-pipeline-pr.yml
+++ b/.ci/uhd-pipeline-pr.yml
@@ -33,6 +33,34 @@ parameters:
- name: run_streaming_tests
type: boolean
default: False
+- name: build_sdk
+ type: boolean
+ displayName: Build embedded image SDKs
+ default: false
+- name: cache_sstate
+ type: boolean
+ displayName: Use sstate cache for embedded builds
+ default: true
+- name: build_e310_sg1
+ type: boolean
+ displayName: Build e310_sg1 image
+ default: true
+- name: build_e310_sg3
+ type: boolean
+ displayName: Build e310_sg3 image
+ default: true
+- name: build_e320
+ type: boolean
+ displayName: Build e320 image
+ default: true
+- name: build_n3xx
+ type: boolean
+ displayName: Build n3xx image
+ default: true
+- name: build_x4xx
+ type: boolean
+ displayName: Build x4xx image
+ default: true
trigger: none
@@ -62,3 +90,10 @@ extends:
release_binaries: ${{ parameters.release_binaries }}
testLength: ${{ parameters.testLength }}
run_streaming_tests: ${{ parameters.run_streaming_tests }}
+ build_sdk: ${{ parameters.build_sdk }}
+ cache_sstate: ${{ parameters.cache_sstate }}
+ build_e310_sg1: ${{ parameters.build_e310_sg1 }}
+ build_e310_sg3: ${{ parameters.build_e310_sg3 }}
+ build_e320: ${{ parameters.build_e320 }}
+ build_n3xx: ${{ parameters.build_n3xx }}
+ build_x4xx: ${{ parameters.build_x4xx }}
diff --git a/.ci/uhd-pipeline.yml b/.ci/uhd-pipeline.yml
index 09b100068..826bf7a09 100644
--- a/.ci/uhd-pipeline.yml
+++ b/.ci/uhd-pipeline.yml
@@ -27,6 +27,34 @@ parameters:
- name: run_streaming_tests
type: boolean
default: False
+- name: build_sdk
+ type: boolean
+ displayName: Build embedded image SDKs
+ default: false
+- name: cache_sstate
+ type: boolean
+ displayName: Use sstate cache for embedded builds
+ default: true
+- name: build_e310_sg1
+ type: boolean
+ displayName: Build e310_sg1 image
+ default: true
+- name: build_e310_sg3
+ type: boolean
+ displayName: Build e310_sg3 image
+ default: true
+- name: build_e320
+ type: boolean
+ displayName: Build e320 image
+ default: true
+- name: build_n3xx
+ type: boolean
+ displayName: Build n3xx image
+ default: true
+- name: build_x4xx
+ type: boolean
+ displayName: Build x4xx image
+ default: true
trigger:
batch: true
@@ -55,3 +83,10 @@ extends:
release_binaries: ${{ parameters.release_binaries }}
testLength: ${{ parameters.testLength }}
run_streaming_tests: ${{ parameters.run_streaming_tests }}
+ build_sdk: ${{ parameters.build_sdk }}
+ cache_sstate: ${{ parameters.cache_sstate }}
+ build_e310_sg1: ${{ parameters.build_e310_sg1 }}
+ build_e310_sg3: ${{ parameters.build_e310_sg3 }}
+ build_e320: ${{ parameters.build_e320 }}
+ build_n3xx: ${{ parameters.build_n3xx }}
+ build_x4xx: ${{ parameters.build_x4xx }}