ci: usrp4 sim: only run this stage if source is not master

This commit is contained in:
Frank Dietze 2026-08-20 14:55:57 +02:00 committed by Frank Dietze
parent 27e8768431
commit 879ed08bb1

View File

@ -784,11 +784,16 @@ stages:
clean: true
rfnoc_include_dir: $(Build.SourcesDirectory)/rfnoc-oot-blocks-dev/rfnoc
# We don't want to run this stage on master, because it will always fail due to the check that the hw-tools have implemented.
- stage: usrp4_tests
displayName: Simulate + Build usrp4-hw
dependsOn: analyze_changeset
condition: >
and(succeeded(),
and(
succeeded(),
not(
eq(variables['Build.SourceBranch'], 'refs/heads/master')
),
or(
contains(dependencies.analyze_changeset.outputs['analyze.gen_testlist.UhdTestList'], 'fpga.usrp3.x4xx'),
contains(dependencies.analyze_changeset.outputs['analyze.gen_testlist.UhdTestList'], 'fpga.usrp3.all'),