aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/uhd-pipeline.yml
blob: 73291d346fb714b7aae403abbb748cfcfe7cf044 (plain) (blame)
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
#
# Copyright 2021 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#

trigger:
  branches:
    include:
    - master
  paths:
    include:
    - host
    - .ci/uhd-pipeline.yml
    - images/manifest.txt
pr:
  branches:
    include:
    - master
  paths:
    include:
    - host
    - .ci/uhd-pipeline.yml
    - images/manifest.txt

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: templates/job-get-latest-uhd-docker.yml

  - template: templates/job-uhd-build-src.yml
    parameters:
      toolset: make
  - template: templates/job-uhd-build-src.yml
    parameters:
      toolset: make_trace
  - template: templates/job-uhd-build-src.yml
    parameters:
      toolset: ninja
  - template: templates/job-uhd-build-src.yml
    parameters:
      toolset: msbuild
  - template: templates/job-uhd-build-src.yml
    parameters:
      toolset: ubuntu_deb

- stage: test_uhd_stage
  displayName: Test UHD
  dependsOn: build_uhd_stage
  jobs:
  - template: templates/job-uhd-devtest-rhombus.yml
    parameters:
      testOS: ubuntu2004
      uhdSrcDir: $(Build.SourcesDirectory)