blob: a67dbed9700e4af45005bec99d998e9f92fbc103 (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
#
# Copyright 2021 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
parameters:
- name: custom_boost_version
type: boolean
default: false
- name: custom_boost_version_url
type: string
default: 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2'
- name: release_binaries
type: boolean
default: false
- name: testLength
type: string
- name: run_streaming_tests
type: boolean
default: false
variables:
- template: ../uhd-pipeline-vars.yml
resources:
pipelines:
- pipeline: uhd_build_docker_container
source: 'uhddev Build Docker Containers'
branch: master
stages:
- stage: build_uhd_stage
displayName: Build UHD
jobs:
- template: job-get-latest-uhd-docker.yml
- template: job-uhd-build-src.yml
parameters:
toolset: make
- template: job-uhd-build-src.yml
parameters:
toolset: make_trace
- template: job-uhd-build-src.yml
parameters:
toolset: ninja
- template: job-uhd-build-src.yml
parameters:
toolset: msbuild
release_binaries: ${{ parameters.release_binaries }}
- ${{ if parameters.custom_boost_version }}:
- template: job-uhd-build-src.yml
parameters:
toolset: make_custom_boost_version
custom_boost_version_url: ${{ parameters.custom_boost_version_url }}
- stage: build_uhd_installer_stage
displayName: Build UHD Installers
dependsOn: build_uhd_stage
jobs:
- template: job-get-latest-uhd-docker.yml
- template: job-uhd-build-installer.yml
parameters:
toolset: ubuntu_deb
installer: deb
- template: job-uhd-build-installer.yml
parameters:
toolset: msbuild
installer: nsis
- stage: test_uhd_stage
displayName: Test UHD
dependsOn: build_uhd_stage
jobs:
- template: job-uhd-devtest-rhombus.yml
parameters:
testOS: ubuntu2004
uhdSrcDir: $(Build.SourcesDirectory)
- stage: test_streaming_stage
displayName: Test UHD Streaming
dependsOn: build_uhd_stage
condition: and(succeeded('build_uhd_stage'), ${{ parameters.run_streaming_tests }})
jobs:
- template: job-uhd-streaming-tests-beauty.yml
parameters:
testOS: ubuntu2004
uhdSrcDir: $(Build.SourcesDirectory)
testLength: ${{ parameters.testLength }}
|