Work CD-CI
Fix conditions check on build jobs.
***NO_CI***
@@ -118,9 +118,7 @@ jobs:
#################
# STM32
- job: Build_STM32_targets
- # skip build if this is a PR, submitted by nfbot and the commit message contains [version update]
- # not( and( eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.RequestedForId'], 'nfbot'), contains(variables['Build.SourceVersionMessage'], '[version update]') ) )
- condition: not( and( startsWith(variables['Build.SourceBranch'], 'refs/pull'), eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) ))
+ condition: not( eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) )
dependsOn:
- Check_Build_Options
@@ -180,9 +178,7 @@ jobs:
#################
# ESP32 targets
- job: Build_ESP32_targets
- # skip build if this is a PR, submitted by nfbot and the commit message contains [version update]
- # condition: not( and( eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.RequestedForId'], 'nfbot'), contains(variables['Build.SourceVersionMessage'], '[version update]') ) )
- condition: not( and( startsWith(variables['Build.SourceBranch'], 'refs/pull'), eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) ))
+ condition: not( eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) )
dependsOn:
- Check_Build_Options
@@ -226,9 +222,7 @@ jobs:
#################
# TI SimpleLink
- job: Build_TI_SimpleLink_targets
- # skip build if this is a PR, submitted by nfbot and the commit message contains [version update]
- # not( and( eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.RequestedForId'], 'nfbot'), contains(variables['Build.SourceVersionMessage'], '[version update]') ) )
- condition: not( and( startsWith(variables['Build.SourceBranch'], 'refs/pull'), eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) ))
+ condition: not( eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) )
dependsOn:
- Check_Build_Options
@@ -265,9 +259,7 @@ jobs:
#################
# WIN32
- job: Build_WIN32_nanoCLR
- # skip build if this is a PR, submitted by nfbot and the commit message contains [version update]
- # condition: not( and( eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.RequestedForId'], 'nfbot'), contains(variables['Build.SourceVersionMessage'], '[version update]') ) )
- condition: not( and( startsWith(variables['Build.SourceBranch'], 'refs/pull'), eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) ))
+ condition: not( eq( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ) )
dependsOn:
- Check_Build_Options
