diff options
Diffstat (limited to '.ci')
-rw-r--r-- | .ci/templates/job-uhd-streaming-tests.yml | 2 | ||||
-rw-r--r-- | .ci/uhd-hardware-test-dev.yml | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/.ci/templates/job-uhd-streaming-tests.yml b/.ci/templates/job-uhd-streaming-tests.yml index 147493ade..8d5d72b3e 100644 --- a/.ci/templates/job-uhd-streaming-tests.yml +++ b/.ci/templates/job-uhd-streaming-tests.yml @@ -75,7 +75,7 @@ jobs: - task: ExtractFiles@1 inputs: - archiveFilePatterns: $(Pipeline.Workspace)/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}.tar.gz + archiveFilePatterns: $(uhd_artifact_directory)/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}.tar.gz destinationFolder: $(Build.BinariesDirectory) cleanDestinationFolder: true displayName: Extract uhddev-${{ parameters.testOS }}-${{ parameters.toolset }} artifact diff --git a/.ci/uhd-hardware-test-dev.yml b/.ci/uhd-hardware-test-dev.yml index 625ecf34a..f12d451b4 100644 --- a/.ci/uhd-hardware-test-dev.yml +++ b/.ci/uhd-hardware-test-dev.yml @@ -2,6 +2,22 @@ trigger: none pr: none +parameters: +- name: run_hardware_tests + type: boolean + displayName: Run Hardware Tests + default: false +- name: run_streaming_tests + type: boolean + displayName: Run Streaming Tests + default: false +- name: testLength + type: string + values: + - 'smoke' + - 'full' + - 'stress' + resources: pipelines: - pipeline: uhd_mono_pipeline @@ -30,6 +46,8 @@ resources: stages: - stage: test_uhd_embedded_stage displayName: Test Embedded UHD + dependsOn: [] + condition: ${{ parameters.run_hardware_tests }} jobs: - template: templates/tests/job-uhd-x4xx-hardware-tests-sdr-test0.yml parameters: @@ -39,3 +57,15 @@ stages: parameters: testOS: ubuntu1804 uhdArtifactSource: uhd_mono_pipeline +- stage: test_streaming_stage + displayName: Test UHD Streaming + dependsOn: [] + condition: ${{ parameters.run_streaming_tests }} + jobs: + - template: templates/job-uhd-streaming-tests-beauty.yml + parameters: + testOS: ubuntu2004 + uhdSrcDir: $(Build.SourcesDirectory)/uhddev + uhdArtifactSource: uhd_mono_pipeline + testLength: ${{ parameters.testLength }} + |