aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/uhd-pipeline.yml
blob: 593ac20e9ba82aed58f9f07b73a63e29e9c6b6dc (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
trigger:
  branches:
    include:
    - master
    - titanium-master
  paths:
    include:
    - host
    - .ci/uhd-pipeline.yml
pr:
  branches:
    include:
    - master
    - titanium-master
  paths:
    include:
    - host
    - .ci/uhd-pipeline.yml

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: 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)