Commit Graph

11 Commits (fd80f40851475950fa26e35c544b77e99ed5f1d6)

Author SHA1 Message Date
Sarah Marsh fd80f40851 update mbed-os in selected examples 2016-11-18 12:17:55 +00:00
Sarah Marsh 6855da6b9a conditional intersection for targets 2016-11-18 12:17:53 +00:00
Sarah Marsh 3f1dce3928 Implement filtering of targets and examples. 2016-11-18 12:17:52 +00:00
Brian Daniels f323545503 Adding a clone and a deploy step to allow optimizations in CI.
This adds an example clone and deploy step that allows you to modify
each top level repository before pulling in the rest of the example's
dependencies. This allows us to not pull in a copy of mbed-os for each
example in CI and instead symbolic link the already cloned copy, saving
valuable time and disk space
2016-11-18 12:17:50 +00:00
Sarah Marsh d55e739c66 Capable of testing export only to IDEs that do not have build functions 2016-11-18 12:17:44 +00:00
sarahmarshy 93e5e235b1 Directory traversal error
Change indentation level for directory traversal, so that we only move up at the end of exporting one project for all ide/target combinations.
2016-11-08 10:44:50 +00:00
Sarah Marsh 96259cdfb6 Add boolean 'export' to examples.json.
This will determine whether the example should be exported. Additionally,
relocated export logic to examples_lib.py.
2016-11-08 10:44:24 +00:00
Sarah Marsh 027f2b23cc New export-build tests.
Allows command line workflow of:
mbed import
mbed export

Also revises exporter supported target checks
2016-11-08 10:44:19 +00:00
Anna Bridge 1a1c41e40d Minor review comments plus add new 'compile' option to examples json file.
Adding the new compile option allows the marking of a set of examples to
indicate whether they should be compiled or not. For the update process
examples that are not compiled will not be auto updated irrespective of
that setting.
Other changes to make return logic from some functions in update.py more
efficient and some typos in the lib file.
2016-11-08 10:43:45 +00:00
Anna Bridge 56c0a4d148 Review: Update example_lib.py to use rmtree rather than rm system call. Update examples.json to limit TLS examples to a couple of boards and only GCC_ARM and ARM compilers. 2016-11-08 10:43:44 +00:00
Anna Bridge 0665a17e91 Make update.py test compile examples prior to updating mbed-os version.
Changes:
Refactor examples.py to add a new command line option to provide an update
tag.
Refactor examples.py to add new functionality to update the version of
mbed-os in the examples to a supplied tag.
Refactor examples.py to make cloning the example repos, updating their
mbed-os version and compiling, into library functions and move to a new
library module.
Refactor the format of the examples.json file to make it compatible with
both examples.py and update.py.
Refactor update.py so that examples are test compiled prior to updating.
Refactor update.py so that only examples tagged as auto-updatable and that
fully compile are automatically updated.
2016-11-08 10:43:43 +00:00