]> granicus.if.org Git - esp-idf/commitdiff
Reinstate build_examples gitlab CI case
authorAngus Gratton <angus@espressif.com>
Tue, 11 Oct 2016 05:41:05 +0000 (16:41 +1100)
committerAngus Gratton <angus@espressif.com>
Tue, 11 Oct 2016 06:23:46 +0000 (17:23 +1100)
Had been removed in 42e31116

.gitlab-ci.yml

index ef28489077dfb3f8c3719c2fee360b7fbad5176f..7834707fef41058d7fe4c2ac8d49e0ef1d2e1c15 100644 (file)
@@ -69,6 +69,23 @@ build_ssc:
     - chmod +x gen_misc_ng.sh
     - ./gen_misc_ng.sh
 
+build_examples:
+  <<: *build_template
+  artifacts:
+    paths:
+      - build_examples/*/*/build/*.bin
+      - build_examples/*/*/build/*.elf
+      - build_examples/*/*/build/*.map
+      - build_examples/*/*/build/bootloader/*.bin
+    expire_in: 6 mos
+
+  script:
+    # it's not possible to build 100% out-of-tree and have the "artifacts"
+    # mechanism work, but this is the next best thing
+    - mkdir build_examples
+    - cd build_examples
+    - ${IDF_PATH}/make/build_examples.sh
+
 test_nvs_on_host:
   stage: test
   image: espressif/esp32-ci-env