mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-16 15:29:25 +01:00
fix(modem): Ignore more build warnings
This commit is contained in:
@@ -15,11 +15,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
idf_ver: ["latest", "release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4"]
|
idf_ver: ["latest", "release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4"]
|
||||||
example: ["pppos_client", "modem_console", "modem_tcp_client", "ap_to_pppos", "simple_cmux_client"]
|
example: ["pppos_client", "modem_console", "modem_tcp_client", "ap_to_pppos", "simple_cmux_client"]
|
||||||
include:
|
|
||||||
- idf_ver: "release-v5.0"
|
|
||||||
example: "simple_cmux_client"
|
|
||||||
warning: "Warning: The smallest app partition is nearly full"
|
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: espressif/idf:${{ matrix.idf_ver }}
|
container: espressif/idf:${{ matrix.idf_ver }}
|
||||||
steps:
|
steps:
|
||||||
@@ -30,9 +25,9 @@ jobs:
|
|||||||
- if: ${{ matrix.skip_config }}
|
- if: ${{ matrix.skip_config }}
|
||||||
run: rm -f $GITHUB_WORKSPACE/protocols/components/esp_modem/examples/${{ matrix.example }}/sdkconfig.ci.${{ matrix.skip_config }}*
|
run: rm -f $GITHUB_WORKSPACE/protocols/components/esp_modem/examples/${{ matrix.example }}/sdkconfig.ci.${{ matrix.skip_config }}*
|
||||||
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }}
|
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }}
|
||||||
env:
|
|
||||||
EXPECTED_WARNING: ${{ matrix.warning }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
EXPECTED_WARNING: "Warning: The smallest app partition is nearly full\nwarning: unknown kconfig symbol 'ESP32_PANIC_PRINT_HALT'"
|
||||||
run: |
|
run: |
|
||||||
. ${IDF_PATH}/export.sh
|
. ${IDF_PATH}/export.sh
|
||||||
python -m pip install idf-build-apps
|
python -m pip install idf-build-apps
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ if __name__ == '__main__':
|
|||||||
build_dir='build_@t_@w',
|
build_dir='build_@t_@w',
|
||||||
config_rules_str=args.rules,
|
config_rules_str=args.rules,
|
||||||
build_log_filename='build_log.txt',
|
build_log_filename='build_log.txt',
|
||||||
size_json_filename='size.json' if not args.linux else None,
|
size_json_filename=None,
|
||||||
check_warnings=True,
|
check_warnings=True,
|
||||||
manifest_files=args.manifests,
|
manifest_files=args.manifests,
|
||||||
default_build_targets=SUPPORTED_TARGETS,
|
default_build_targets=SUPPORTED_TARGETS,
|
||||||
@@ -65,6 +65,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
sys.exit(
|
sys.exit(
|
||||||
build_apps(apps,
|
build_apps(apps,
|
||||||
|
verbose=2,
|
||||||
dry_run=False,
|
dry_run=False,
|
||||||
keep_going=False,
|
keep_going=False,
|
||||||
no_preserve=args.delete,
|
no_preserve=args.delete,
|
||||||
|
|||||||
Reference in New Issue
Block a user