diff options
-rw-r--r-- | .ci/oe-for-host.yml | 74 | ||||
-rw-r--r-- | .ci/oe-x4xx-packages.yml | 76 | ||||
-rw-r--r-- | .ci/x4xx-devtests.yml | 76 |
3 files changed, 0 insertions, 226 deletions
diff --git a/.ci/oe-for-host.yml b/.ci/oe-for-host.yml deleted file mode 100644 index 909c3657d..000000000 --- a/.ci/oe-for-host.yml +++ /dev/null @@ -1,74 +0,0 @@ -# -# Copyright 2021 Ettus Research, a National Instruments Brand -# -# SPDX-License-Identifier: LGPL-3.0-or-later -# -# Description: -# -# Build openembedded (OE) package for host architecture (genericx86-64) -# -# The recipe to be built is specified by variable "Image" -# The package itself is built (step "build $(Image)") and also all runtime -# dependencies are built (step "build $(Image) with dependencies") -# -# For the recipes "uhd", "uhd-fpga-images" and "mpmd", the build is configured -# to use the source code from the $(Agent.BuildDirectory)/uhd directory. The -# code is checked out by this pipeline with the branch and version which -# triggered this pipeline. -# -# The pipeline generates an artifact named qemux86_64-ipks containing the IPKs. - -trigger: - branches: - include: - - master - paths: - include: - - .ci - - host - -pr: - branches: - include: - - master - paths: - include: - - .ci - - host - -resources: - repositories: - - repository: meta-ettus - type: github - name: EttusResearch/meta-ettus-dev - endpoint: EttusResearch - ref: zeus-ci - pipelines: - - pipeline: usrp-kas-pipeline - source: 'usrp-kas' - -variables: - AUTO_CONF: $(Agent.BuildDirectory)/auto.conf - -jobs: - - template: .ci/templates/job_build_package.yml@meta-ettus - parameters: - machines: - - qemux86_64 - checkout_meta_ettus: true - targets: - - $(Image) - - package-index - - package-feed - auto_conf: $AUTO_CONF - prebuild_steps: - - script: rm -f $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 diff --git a/.ci/oe-x4xx-packages.yml b/.ci/oe-x4xx-packages.yml deleted file mode 100644 index ff532aa52..000000000 --- a/.ci/oe-x4xx-packages.yml +++ /dev/null @@ -1,76 +0,0 @@ -# -# Copyright 2021 Ettus Research, a National Instruments Brand -# -# SPDX-License-Identifier: LGPL-3.0-or-later -# -# Description: -# -# Automated x4xx openembedded build on Azure DevOps -# -# This pipeline builds the following openembedded targets: -# - UHD -# - UHD FPGA images -# - MPMD -# -# It also runs UHD unit tests and publishes their results. - -trigger: - branches: - include: - - master - paths: - include: - - .ci - - host - - mpm - - images/manifest.txt - -pr: - branches: - include: - - master - paths: - include: - - .ci - - host - - mpm - - images/manifest.txt - -resources: - repositories: - - repository: meta-ettus - type: github - name: EttusResearch/meta-ettus-dev - endpoint: EttusResearch - ref: zeus-ci - pipelines: - - pipeline: usrp-kas-pipeline - source: 'usrp-kas' - -variables: - AUTO_CONF: $(Agent.BuildDirectory)/auto.conf - -jobs: - - template: .ci/templates/job_build_package.yml@meta-ettus - parameters: - machines: - - x4xx - checkout_meta_ettus: true - targets: - - uhd:do_package_write_ipk - - uhd:do_run_tests - - mpmd:do_package_write_ipk - - gnuradio:do_package_write_ipk - - gr-ettus:do_package_write_ipk - auto_conf: $AUTO_CONF - prebuild_steps: - - script: rm -f $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 diff --git a/.ci/x4xx-devtests.yml b/.ci/x4xx-devtests.yml deleted file mode 100644 index 780d46ec8..000000000 --- a/.ci/x4xx-devtests.yml +++ /dev/null @@ -1,76 +0,0 @@ -# -# Copyright 2021 Ettus Research, a National Instruments Brand -# -# SPDX-License-Identifier: LGPL-3.0-or-later -# -# Description: -# -# X410-Specific Pipeline to execute the devtests (equivalent to make test_x4xx) -# on the DUT. - -# no CI triggers -trigger: none - -# no PR triggers -pr: none - -variables: - UHDForHostArtifactName: 'qemux86-64-feed' - -# pipeline triggers -resources: - pipelines: - - pipeline: 'x4xx-uhddev-oe-for-host-artifacts' - source: 'x4xx-uhddev-oe-for-host' - branch: master - trigger: - # workaround if no additional branch filter is specified - enabled: True - -pool: - demands: - - 'x4xx-devtests' - -jobs: -- job: 'devtests' - - steps: - - checkout: none - - # note: 'download' parameter must not use a variable, otherwise artifact is not found - - download: 'x4xx-uhddev-oe-for-host-artifacts' - artifact: '$(UHDForHostArtifactName)' - displayName: 'Download artifact $(UHDForHostArtifactName)' - - - script: | - cp x4xx-uhddev-oe-for-host-artifacts/$(UHDForHostArtifactName)/base-feeds.conf opkg.conf - echo -e "arch all 1\narch core2-64 6\narch qemux86_64 11" >> opkg.conf - rm -rf rootfs - opkg -f opkg.conf -o rootfs update && opkg -f opkg.conf -o rootfs install uhd uhd-examples uhd-tests - workingDirectory: $(Agent.BuildDirectory) - displayName: 'Install UHD' - - - script: | - PATH="$PATH:/usr/lib/uhd/examples" - ARGS="--args=type=x4xx --devtest-pattern=x4x0 --xml" - linux-user-chroot $PWD/rootfs /usr/bin/python3 /usr/lib/uhd/tests/devtest/run_testsuite.py --src-dir=/usr/lib/uhd/tests/devtest $ARGS - workingDirectory: $(Agent.BuildDirectory) - displayName: 'Run x4xx-devtests' - continueOnError: true - - - task: PublishTestResults@2 - inputs: - testResultsFormat: 'JUnit' - testResultsFiles: '**/TEST-*.xml' - testRunTitle: 'Devtests' - searchFolder: '$(Agent.BuildDirectory)/rootfs' - - - script: | - rm -v -f a/* - cp -v rootfs/*.log a/ - displayName: 'Prepare Logfile Artifact' - workingDirectory: $(Agent.BuildDirectory) - - - publish: '$(Agent.BuildDirectory)/a' - artifact: 'Logfiles' - displayName: 'Publish Logfiles Artifact' |