blob: 909c3657d7c25311854a1ec45e5dd10cb472d005 (
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:
#
# 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
|