aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/oe-x4xx-packages.yml
blob: fb09cb42b37c173bc1c0cec244ccc7ae40932c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# 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
      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