Work CI-CD
Add processing of build all tag in commit message.
***NO_CI***
@@ -35,6 +35,8 @@ jobs:
- checkout: self
fetchDepth: 1
+ - template: azure-pipelines-templates/get-commit-details.yml@templates
+
# check build options
- powershell: |
@@ -160,7 +162,7 @@ jobs:
################
# STM32
- job: Build_STM32_targets
- condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_CHIBIOS'], true), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_CHIBIOS'], 'true'))
+ condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_CHIBIOS'], true), contains(dependencies.Check_Build_Options.outputs['GetCommitDetails.COMMIT_MESSAGE'], '***BUILD_ALL***'), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_CHIBIOS'], 'true'))
dependsOn:
- Check_Build_Options
@@ -272,7 +274,7 @@ jobs:
#################
# ESP32 targets
- job: Build_ESP32_targets
- condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ESP32'], true), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_ESP32'], 'true'))
+ condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ESP32'], true),contains(dependencies.Check_Build_Options.outputs['GetCommitDetails.COMMIT_MESSAGE'], '***BUILD_ALL***'), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_ESP32'], 'true'))
dependsOn:
- Check_Build_Options
@@ -526,7 +528,7 @@ jobs:
#################
# TI SimpleLink
- job: Build_TI_SimpleLink_targets
- condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_TI'], true), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_TI'], 'true'))
+ condition: or(eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true), eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_TI'], true),contains(dependencies.Check_Build_Options.outputs['GetCommitDetails.COMMIT_MESSAGE'], '***BUILD_ALL***'), eq(variables['BUILD_ALL'], 'true'), eq(variables['BUILD_TI'], 'true'))
dependsOn:
- Check_Build_Options
