ci: fix breaking change in idf-build-apps 1.0.0

x
This commit is contained in:
Fu Hanxi 2023-05-24 14:28:26 +08:00
parent 3f55377ab4
commit 5e2c3e23ae
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
2 changed files with 4 additions and 6 deletions

View File

@ -62,7 +62,7 @@ build_stage2() {
--build-log ${BUILD_LOG_CMAKE} \
--size-file size.json \
--collect-size-info size_info.txt \
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3
# add esp32h2 back after IDF-5541
}
@ -77,7 +77,7 @@ build_stage1() {
--build-log ${BUILD_LOG_CMAKE} \
--size-file size.json \
--collect-size-info size_info.txt \
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32h2
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32h2
}
# Default arguments

View File

@ -169,7 +169,7 @@ if __name__ == '__main__':
parser.add_argument(
'--config',
default=['sdkconfig.ci=default', 'sdkconfig.ci.*=', '=default'],
action='append',
nargs='+',
help='Adds configurations (sdkconfig file names) to build. This can either be '
'FILENAME[=NAME] or FILEPATTERN. FILENAME is the name of the sdkconfig file, '
'relative to the project directory, to be used. Optional NAME can be specified, '
@ -204,17 +204,15 @@ if __name__ == '__main__':
)
parser.add_argument(
'--collect-size-info',
type=argparse.FileType('w'),
help='If specified, the test case name and size info json will be written to this file',
)
parser.add_argument(
'--collect-app-info',
type=argparse.FileType('w'),
help='If specified, the test case name and app info json will be written to this file',
)
parser.add_argument(
'--ignore-warning-str',
action='append',
nargs='+',
help='Ignore the warning string that match the specified regex in the build output. '
'Can be specified multiple times.',
)