aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/.ci/fpga-pipeline-pr.yml
blob: 307010e7ab143a1d0762d6bb1a0f4627ca978a36 (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
#
# Copyright 2022 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
# Description:
#
#   This pipeline is used to build FPGAs and run testbenches for PRs.
#
#   See https://aka.ms/yaml for pipeline YAML documentation.
#

parameters:
- name: run_testbenches
  type: boolean
  displayName: Run Testbenches
  default: true
- name: clean_ip_build
  type: boolean
  displayName: Clean IP Build
  default: false
- name: build_x410
  type: boolean
  displayName: Build X410
  default: true
- name: x410_targets_matrix
  type: object
  displayName: X410 Targets
  default:
    X410_XG_100:
      target_name: X410_XG_100
      timeout: 480
    X410_X4_200:
      target_name: X410_X4_200
      timeout: 480
    X410_CG_400:
      target_name: X410_CG_400
      timeout: 480
- name: package_images
  type: boolean
  displayName: Package Images
  default: false

trigger: none

pr:
  branches:
    include:
    - master
  paths:
    include:
    - fpga/usrp3/lib
    - fpga/usrp3/top/x400
    - fpga/.ci

schedules:
- cron: "0 18 * * Sun"
  displayName: Weekly FPGA Build master branch
  branches:
    include:
    - master
  always: true

extends:
  template: templates/stages-fpga-pipeline.yml
  parameters:
    run_testbenches: ${{ parameters.run_testbenches }}
    package_images: ${{ parameters.package_images }}
    build_x410: ${{ parameters.build_x410 }}
    x410_targets_matrix: ${{ parameters.x410_targets_matrix }}
    publish_int_files: true
    clean_ip_build: ${{ parameters.clean_ip_build }}