ci: ignore pkg_resources deprecation warning

This commit is contained in:
Fu Hanxi 2023-06-20 08:27:31 +08:00
parent 4bc762621d
commit 3cad4ca937
2 changed files with 5 additions and 2 deletions

View File

@ -64,7 +64,8 @@ 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,esp32c6,esp32h2
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32c6,esp32h2 \
--ignore-warning-str "DeprecationWarning: pkg_resources is deprecated as an API"
}
build_stage1() {
@ -78,7 +79,8 @@ 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,esp32c6,esp32h2
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32c6,esp32h2 \
--ignore-warning-str "DeprecationWarning: pkg_resources is deprecated as an API"\
}
# Default arguments

View File

@ -15,3 +15,4 @@ CryptographyDeprecationWarning
Warning: \d+/\d+ app partitions are too small for binary
CMake Deprecation Warning at main/lib/tinyxml2/CMakeLists\.txt:11 \(cmake_policy\)
The smallest .+ partition is nearly full \(\d+% free space left\)!
DeprecationWarning: pkg_resources is deprecated as an API