aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Update commit vcpkg and CMake versionSteven Koo2022-03-294-16/+16
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Set continue on error and reduce timeout to 60Steven Koo2022-02-241-6/+13
| | | | | | | Instead of squashing errors, set continue on error so that warnings propagate up. Also reset timeout to default 60 minutes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Remove obsolete x4xx pipelinesSteven Koo2022-02-243-226/+0
| | | | | | | These x4xx pipelines have been obsoleted by x4xx integration with mono pipeline. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Upload devtest logs as artifactSteven Koo2022-02-111-0/+21
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Propagate downloader errors and lower timeoutSteven Koo2022-02-111-1/+8
| | | | | | | | This change enables download / network failures to propagate up and fail the job for Windows builds. It also reduces the job timeout in case the network hangs. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable ctest on macOS buildsSteven Koo2022-02-082-2/+6
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: flash fpga on x410 ATS runsSteven Koo2022-02-073-3/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add mpm folder to triggersSteven Koo2022-02-072-0/+2
| | | | | | | Since we build the system images now and test downstream for x410, trigger builds on mpm changes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Change yaml dependency to ruamelSteven Koo2022-02-045-5/+5
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add support for Ubuntu 22.04Steven Koo2022-02-042-2/+71
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Remove Fedora 33 and add Fedora 35Steven Koo2022-02-042-3/+3
| | | | | | Fedora 33 is going EOL and Fedora 35 was recently released Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add libuhd python dependencies to macOSSteven Koo2022-02-041-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add x410 test to mono pipelineSteven Koo2022-02-025-0/+412
| | | | | | | | | This change brings in x410 testing into the uhd mono pipeline. This also creates a test development pipeline that executes on uhd mono pipeline as an upstream artifact source. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable building of init_usrpMartin Braun2022-02-011-0/+22
| | | | | | | This builds init_usrp against UHD during CI runs. init_usrp is an example for how to write third-party apps using CMake that link against UHD. This will test the UHDConfig.cmake (and related) CMake files, as well as the example itself.
* ci: Make uhdSrcDir directly reference Build.SourcesDirectoryMartin Braun2022-02-011-5/+5
|
* ci: Build gnuradio and gr-ettusSteven Koo2022-01-258-10/+209
| | | | | | | | | | This change adds build support for gnuradio and gr-ettus. After building gnuradio and gr-ettus 3.8 against the uhddev commit, the job will upload the build artifact for gnuradio and gr-ettus for use by downstream jobs, like hardware testing. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add gnuradio deps to imagesSteven Koo2022-01-254-0/+87
| | | | | | | Adding gnuradio deps to build gnuradio as a job in uhd's pipeline Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Generate installed binaries for downstream useSteven Koo2022-01-242-1/+15
| | | | | | | | | | CMake doesn't allow source path to change once set. This is problematic because downstream pipeline jobs could use the artifacts to test but have no way to install. Instead setup to install to uhdBuildDir-installed. Downstream jobs then then directly reference uhd from there. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add displayNames to parametersSteven Koo2022-01-202-0/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add embedded builds to uhd mono pipelineSteven Koo2022-01-203-0/+144
| | | | | | | | This commit adds in meta-ettus build support into mono pipline. This uses the job implementation in from meta-ettus for the existing pipelines. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Separate pipeline builds for different osmattprost2022-01-143-16/+70
| | | | | | This allows parameterizing pipeline runs to only build for certain os. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: refactor dockerOSName to buildOSNameSteven Koo2022-01-063-16/+16
| | | | | | dockerOSName is misleading because it could be in a bare metal context Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: build on macOSSteven Koo2022-01-065-7/+69
| | | | | | This adds macOS build support using homebrew Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: Add default length for automated streaming testsMatthew Crymble2021-12-012-0/+2
|
* tests: add automated streaming testsMatthew Crymble2021-11-305-0/+146
|
* ci: Device wait to redlock scope for Vivado closeSteven Koo2021-09-071-2/+2
| | | | | | | | Sometimes Vivado gets reopened too fast causing port in use errors. This moves the device reboot wait into the redlock scope to give some time for Vivado to close before the next agent tries to get the lock. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add Fedora 34 and remove Fedora 32Steven Koo2021-08-232-3/+3
| | | | | | Fedora 34 has been released and Fedora 32 is EOL Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: rebuild docker images weeklySteven Koo2021-08-091-0/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Refactor installers and add Windows supportSteven Koo2021-08-048-39/+194
| | | | | | | This commit refactors the uhd pipeline to have a new installer stage. This also adds Windows NSIS installers to pipelines. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add gnuradio gr-ettus to oe buildsSteven Koo2021-07-281-0/+2
| | | | | | | gnuradio and gr-ettus is downstream of uhd so we need to rebuild it when we build uhd Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Update template to use checkout_meta_ettusSteven Koo2021-07-262-0/+2
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add custom boost version supportSteven Koo2021-07-234-1/+78
| | | | | | | | | | This adds new variables which can be used to set a a URL to a custom Boost archive. If provided, the pipeline will download the custom Boost archive, unpack it, build it, and provide CMake flags for UHD before starting the UHD build itself. This allows semi-automatic testing of new Boost versions as they are released.
* ci: Remove documentation-only changes from pipeline runsMartin Braun2021-07-212-0/+6
|
* ci: enable batch CISteven Koo2021-07-141-0/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Split CI and PR pipelines for mono pipelineSteven Koo2021-07-143-47/+70
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable custom CXX flags, enable -WerrorMartin Braun2021-07-123-1/+25
| | | | | | | | | | | - Add a new boolean to make and ninja builds (uhdAllowWarnings). It defaults to false. - When asserted, we set build flags for make and ninja to -Werror -Wno-error=maybe-uninitialized - Add a new parameter to make and ninja builds (uhdCxxFlags). It is currently unused
* ci: Let make keep building upon failureMartin Braun2021-07-121-1/+1
| | | | | This is useful to get a full list of compile errors instead of just the first few. Particularly useful since we enabled -Werror.
* ci: Add clang as a compiler to all Fedora and Ubuntu containersMartin Braun2021-07-124-0/+4
|
* ci: Enable manifest to trigger CI/PR buildsSteven Koo2021-06-251-0/+2
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: move builds to the NI Build FarmMichael Auchter2021-06-242-289/+73
|
* ci: Add trace builds to pipelineSteven Koo2021-06-243-2/+23
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* uhd: ci: Add test definition for UHD CIJoerg Hofrichter2021-06-105-2/+449
| | | | | Co-authored-by: Joerg Hofrichter <joerg.hofrichter@ni.com> Co-authored-by: Cristina Fuentes <cristina.fuentes@ni.com>
* ci: Add deb build support for ubuntu 1804/2004Steven Koo2021-05-183-14/+49
| | | | | | | | This change adds build support for Ubuntu debs in CI. This will generate the dsc file and then build the debs. These are then saved as a pipeline artifact. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Update docker images for Ubuntu with pbuilderSteven Koo2021-05-184-0/+31
| | | | | | | This changes adds pbuilder to the docker files to support building dsc into debs for use with uhd_ubuntu_deb.py. Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: Update device identifiers for N310mattprost2021-05-051-2/+2
| | | | | | New hardware is now being used for N310 testing. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: support for x3xx devtest on rhombusSteven Koo2021-04-166-15/+424
| | | | | | | | | | Rhombus is a test suite that is intended run devtests for multiple devices in parallel. This commit adds support for x300 and x310 support. This uses redis to mutex access to the hardware between Azure Pipeline agents. This also updates the fpga using Vivado over ssh to the host machine. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: install vc_buildtools instead of vc_communitySteven Koo2021-03-196-18/+18
| | | | | | | | For our build machines, we don't need full on Visual Studio. Instead this installs the VS Build Tools, which has the CLI build apps we need. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Build uhd with PipelinesSteven Koo2021-03-1912-11/+256
| | | | | | | | | | | This commit adds the infrastructure to build uhd on both Linux and Windows using Pipelines. Using the docker images generated by the build docker pipeline, this runs an AzDO container job to build uhd artifacts. It then stores the artifacts to be used in later pipelines or stages. This change supports make and ninja on Linux and msbuild with VS2017/VS2019 x86/x64 on Windows. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Linux and Windows uhd build docker imagesSteven Koo2021-03-1210-0/+492
| | | | | | | | | | This commit adds Pipeline support for building uhd toolchain docker images. The Dockerfiles specify the required dependencies to build uhd. These can then be used in downstream pipelines to build uhd. It's also possible to use the Dockerfiles using "docker build" and "docker run" to locally create the toolchain to build uhd. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Hardware pytests / devtests in AzDO for n310Steven Koo2021-03-084-9/+179
| | | | | | | | | This commit adds support for running devtests and pytests in Azure Pipelines. Devices are intentionally matrixed for adding more in the future. devtest is turned off by default for now, but can be enabled in the future. Signed-off-by: Steven Koo <steven.koo@ni.com>