ci: build s2 template app in pre_build of pre_check stage

This will fail pipeline earlier if template project of S2 cannot pass
the build.

The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
This commit is contained in:
Michael (XIAO Xufeng)
2020-07-16 00:18:33 +08:00
parent 7acda7b8eb
commit ad6609a561
6 changed files with 180 additions and 67 deletions

View File

@@ -147,7 +147,8 @@ class BuildItem(object):
return self._expand(self._build_log_path)
def __repr__(self):
return "Build app {} for target {}, sdkconfig {} in {}".format(
return "({}) Build app {} for target {}, sdkconfig {} in {}".format(
self.build_system,
self.app_dir,
self.target,
self.sdkconfig_path or "(default)",