aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates
Commit message (Collapse)AuthorAgeFilesLines
* ci: Add n310 into devtestsSteven Koo2022-07-207-79/+218
| | | | | | | | | This commit adds support for reimaging n3xx devices and running devtest against a n310. This uses Labgrid to control an sdmux, which we then reimage the device. In the future, other devices can use this support to run other tests. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: devtests: fix knownhost entrySteven Koo2022-07-201-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Increase devtest job timeout to 90 minutesSteven Koo2022-07-201-0/+1
| | | | | | | This changes the timeout for devtest jobs. Since we are running multiple devtests per job now, this is needed to avoid timeout failures. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Point meta-ettus repo ref to v4.2.0.0Aaron Rossetto2022-06-151-1/+1
|
* ci: Run multiple fpgas per jobSteven Koo2022-06-102-81/+26
| | | | | | This consolidates the different FPGA runs into a single job. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add devtests to hardware-test-devSteven Koo2022-06-102-3/+17
| | | | | | | This enables running the devtests without having to rebuild uhd, typically for development purposes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: mark test jobs as an overall failure if there is a test failureMatthew Crymble2022-06-102-0/+13
| | | | | | | using the continueOnError option for test run steps is a convenient way to allow all subsequent steps to run despite a test failure. But this causes the job status to be 'SucceededWithIssues' and not a full 'Failed' status.
* ci: Add recv and send frame tuning for streamingSteven Koo2022-06-102-1/+18
| | | | | | | | This adds the ability to tune the recv and send frames as a parameter. This is useful since some rates will fail with jitter in the system with the default settings. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add b210 hardware to rhombusmattprost2022-06-102-1/+32
| | | | | | | Installed a B210 and added support for usb-based devices in the devtest pipeline. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add new x3xx hardware to rhombusmattprost2022-06-101-4/+26
| | | | | | Added an X310 with TwinRx dboards and moved the SBX dboards to an X300. Signed-off-by: mattprost <matt.prost@ni.com>
* tests: streaming: select appropriate uhd config file before test runsMatthew Crymble2022-06-101-7/+21
|
* tests: streaming: add support for B210 DUTsMatthew Crymble2022-06-102-0/+20
| | | | | | The use_dpdk will be false for all B210 test cases, but still needs to be defined since the main test_streaming() function requires a value for it.
* tests: streaming: add support for more DUTsMatthew Crymble2022-06-102-19/+67
| | | | | | | | | | This commit enables runs for X310, X310 TwinRx, E320, and N310. By default, python's argparse module will expect a value to be provided for each argument defined. Specifying an nargs value of '?' for the pytest options allows us to use a single pytest invocation in our pipeline configuration, even though some options don't apply to some DUT types.
* tests: streaming: pass the correct LD_LIBRARY_PATH to pytestMatthew Crymble2022-06-101-3/+8
| | | | | | We need to run the DPDK streaming tests with elevated permissions, but using sudo clears the environment before running. This prevented the streaming tests from accessing the libuhd binaries.
* tests: streaming: add option to run streaming tests in dev pipelineMatthew Crymble2022-06-101-1/+1
|
* fixup! ci: Add fedora rpm installer buildmattprost2022-06-101-0/+32
|
* ci: Add fedora rpm installer buildmattprost2022-06-105-4/+36
| | | | | | | Builds fedora rpm files using CPack. Supports both release and development builds. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add package source support to pipelinesSteven Koo2022-06-102-0/+88
| | | | | | | This change adds support for building the release tarballs using pipelines using tools/package_source.sh Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add package builder container entrySteven Koo2022-06-104-0/+8
| | | | | | This container will be used to build the src tarballs. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add Windows installer signingSteven Koo2022-06-102-0/+61
| | | | | | This adds signing when generating release installers for windows Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: add filesystem flashing to streaming testsVirendra Kakade2022-04-123-12/+96
| | | | Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* tests: streaming tests setupVirendra Kakade2022-04-062-7/+27
| | | | | | | Add auto DUT bitfile configuration. Add special network configuration commands for X410. Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* ci: Update builds to macOS 12 MontereySteven Koo2022-04-051-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: enable automated streaming tests on X410Virendra Kakade2022-03-313-20/+28
| | | | | | | | | | | | Enable automated streaming tests to run on X410. Disable tests on non-X410 devices for now. Run only DPDK tests since the setup can not withstand 4Rx 4Tx and 4FDx in non-DPDK mode in manual testing. And we need to enable running these tests for 100GbE testing. Adjust streaming test thresholds to new values which seemed to work fine in manual testing. Might make them tighter in future based on more data.
* 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: 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 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-024-0/+371
| | | | | | | | | 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: 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 embedded builds to uhd mono pipelineSteven Koo2022-01-201-0/+74
| | | | | | | | 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-141-16/+46
| | | | | | 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-062-6/+6
| | | | | | 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-064-7/+64
| | | | | | This adds macOS build support using homebrew Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: add automated streaming testsMatthew Crymble2021-11-303-0/+124
|
* ci: Refactor installers and add Windows supportSteven Koo2021-08-046-39/+183
| | | | | | | 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 custom boost version supportSteven Koo2021-07-233-1/+67
| | | | | | | | | | 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: Split CI and PR pipelines for mono pipelineSteven Koo2021-07-141-0/+44
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable custom CXX flags, enable -WerrorMartin Braun2021-07-122-0/+22
| | | | | | | | | | | - 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 trace builds to pipelineSteven Koo2021-06-242-2/+20
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add deb build support for ubuntu 1804/2004Steven Koo2021-05-182-14/+46
| | | | | | | | 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-181-0/+4
| | | | | | | 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>
* ci: support for x3xx devtest on rhombusSteven Koo2021-04-163-4/+227
| | | | | | | | | | 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-191-1/+1
| | | | | | | | 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>