Explorar o código

Merge branch 'feature/build_example_make_on_trigger' into 'master'

ci: don't build examples with Make in regular jobs

See merge request espressif/esp-idf!5498
Ivan Grokhotkov %!s(int64=6) %!d(string=hai) anos
pai
achega
1ea68e6093
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      tools/ci/config/build.yml

+ 9 - 0
tools/ci/config/build.yml

@@ -127,12 +127,21 @@ build_examples_make:
   variables:
     LOG_PATH: "$CI_PROJECT_DIR/log_examples_make"
   only:
+    # Here both 'variables' and 'refs' conditions are given. They are combined with "AND" logic.
     variables:
       - $BOT_TRIGGER_WITH_LABEL == null
       - $BOT_LABEL_BUILD
       - $BOT_LABEL_EXAMPLE_TEST
       - $BOT_LABEL_REGULAR_TEST
       - $BOT_LABEL_WEEKEND_TEST
+    refs:
+      - master
+      - /^release\/v/
+      - /^v\d+\.\d+(\.\d+)?($|-)/
+      - triggers
+      - schedules
+      - pipelines
+      - web
   script:
     # it's not possible to build 100% out-of-tree and have the "artifacts"
     # mechanism work, but this is the next best thing