Work CI-CD
Add missing conditions to jobs.
Fixes nanoframework/Home#924 on what concerns ORGPAL_PALTHREE.
***NO_CI***
@@ -208,18 +208,6 @@ jobs:
##############################
- job: Check_Code_Style
- condition: >-
- and(
- ne(variables['Build.Reason'], 'Schedule'),
- not(
- or(
- eq(variables['BUILD_ALL'], 'true'),
- eq(variables['BUILD_CHIBIOS'], 'true'),
- eq(variables['BUILD_ESP32'], 'true'),
- eq(variables['BUILD_TI'], 'true')
- )
- )
- )
dependsOn:
- Check_Build_Options
@@ -337,6 +325,8 @@ jobs:
# ESP32 targets
- job: Build_ESP32_targets
condition: >-
+ and(
+ succeeded('Check_Code_Style'),
or(
eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true),
eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ESP32'], true),
@@ -344,9 +334,11 @@ jobs:
eq(variables['BUILD_ALL'], 'true'),
eq(variables['BUILD_ESP32'], 'true')
)
+ )
dependsOn:
- Check_Build_Options
+ - Check_Code_Style
pool:
vmImage: 'windows-2019'
@@ -846,6 +838,8 @@ jobs:
# TI SimpleLink
- job: Build_TI_SimpleLink_targets
condition: >-
+ and(
+ succeeded('Check_Code_Style'),
or(
eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true),
eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_TI'], true),
@@ -853,9 +847,11 @@ jobs:
eq(variables['BUILD_ALL'], 'true'),
eq(variables['BUILD_TI'], 'true')
)
+ )
dependsOn:
- Check_Build_Options
+ - Check_Code_Style
pool:
vmImage: 'windows-2019'
