aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/.ci/fpga-pipeline.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/.ci/fpga-pipeline.yml')
-rw-r--r--fpga/.ci/fpga-pipeline.yml60
1 files changed, 60 insertions, 0 deletions
diff --git a/fpga/.ci/fpga-pipeline.yml b/fpga/.ci/fpga-pipeline.yml
new file mode 100644
index 000000000..9bf6d78f4
--- /dev/null
+++ b/fpga/.ci/fpga-pipeline.yml
@@ -0,0 +1,60 @@
+#
+# 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 as CI
+# from commits in master.
+#
+# See https://aka.ms/yaml for pipeline YAML documentation.
+#
+
+parameters:
+- name: run_testbenches
+ type: boolean
+ displayName: Run Testbenches
+ default: false
+- name: clean_ip_build
+ type: boolean
+ displayName: Clean IP Build
+ default: true
+- name: build_x410
+ type: boolean
+ displayName: Build X410
+ default: true
+- name: package_images
+ type: boolean
+ displayName: Package Images
+ default: true
+
+trigger:
+ batch: true
+ branches:
+ include:
+ - master
+ paths:
+ include:
+ - fpga/usrp3/lib
+ - fpga/usrp3/top/x400
+ - fpga/.ci
+
+pr: none
+
+extends:
+ template: templates/stages-fpga-pipeline.yml
+ parameters:
+ run_testbenches: ${{ parameters.run_testbenches }}
+ package_images: ${{ parameters.package_images }}
+ build_x410: ${{ parameters.build_x410 }}
+ # These targets are shipped and included in the binaries package.
+ x410_targets_matrix:
+ X410_X4_200:
+ target_name: X410_X4_200
+ timeout: 480
+ X410_CG_400:
+ target_name: X410_CG_400
+ timeout: 480
+ publish_int_files: false
+ clean_ip_build: ${{ parameters.clean_ip_build }}