Commit Graph

46 Commits

Author SHA1 Message Date
Fu Hanxi
fba7920569 ci: use brew runners by default for host test jobs 2023-01-18 07:41:35 +00:00
Fu Hanxi
59304efa9a test: add test to make sure the build flags are the same as the CI ones 2023-01-04 09:12:47 +08:00
Cao Sen Miao
4e67332b74 ESP32H2: Add small CI test for ESP32H2 2022-12-29 11:00:42 +08:00
wuzhenghui
fca7d70e05 esp32c6: add minimal ci support
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Fu Hanxi
1ffa222c23 ci: fix check_test_scripts_build_test_rules not install pytest error 2022-08-29 16:57:31 +08:00
Fu Hanxi
1daf541b6c ci: remove check_python_style since flake8 is included in pre-commit 2022-08-18 11:40:22 +08:00
Fu Hanxi
f10e6145dc ci: simplify the python env to idf venv only 2022-08-18 11:40:22 +08:00
Fu Hanxi
54f69d35a3 ci: add check job and pre-commit 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Fu Hanxi
46bac6427a ci: default python version 3.7.10 2022-07-14 08:26:01 +08:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities 2022-07-12 16:58:14 +02:00
David Čermák
46fe7dbc8c Merge branch 'component/mdns_migration' into 'master'
mdns: Remove internal component, examples, test and docs

Closes IDF-4074

See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets 2022-06-29 22:49:51 +02:00
gabsuren
d413a71f61 mdns: Remove internal component, examples, test and docs 2022-06-29 17:30:34 +04:00
Fu Hanxi
f20a747a26 ci: upload cache only when requirements txt changed 2022-06-08 08:19:35 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
In c4bcf111, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.

Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.

This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Fu Hanxi
ce0533b75c ci: change scan test labels to scan_test 2022-03-03 11:25:10 +08:00
Fu Hanxi
83965c22b7 ci: cache policy is pull-only for most of the jobs 2022-02-25 14:31:21 +08:00
Tomas Sebestik
fce2929083 Add merged target-test-env image 2022-02-15 07:51:38 +01:00
Roland Dobai
51bfd280f8 Merge branch 'update/drop_python36' into 'master'
Drop Python 3.6

See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Tomas Sebestik
fb12d03dc3 Drop Python 3.6 2022-02-10 07:20:52 +01:00
Chen Yudong
de7e67ccec CI: add expire_in and timeout for jobs
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
Fu Hanxi
e761153cff ci: adjust parallel count based on build item count 2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49 ci: add build_non_test_component_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb ci: skip building pytest apps in normal find_apps build_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
morris
3b371d2d64 ci: check unstable soc headers wont be leaked by public api 2022-01-06 21:43:12 +08:00
Ivan Grokhotkov
3049ac6dbb ci: improve checks for Wi-Fi/PHYlibraries
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
  checking Wi-Fi libraries. This used to happen until libphy.a was
  moved into a separate submodule.

Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Chen Yudong
2db60f13fb ci: add test dir examples/bluetooth/hci/controller_hci_uart_esp32 2021-12-01 12:06:52 +08:00
Chen Yudong
e4a86f203f ci: preserve artifacts for local test apps 2021-11-30 17:39:00 +08:00
Roland Dobai
e89fc00e5b CI: Don't build with "make" because the support is removed in v5.0 2021-11-02 13:13:31 +01:00
Anton Maklakov
5be0dfbb7a ci: fix using HEAD and SHA with merged result pipelines 2021-10-28 13:39:26 +07:00
Fu Hanxi
0b7a0d7cbd ci: move check_tools_files_patterns to pre-commit 2021-10-13 09:13:33 +08:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
Roland Dobai
b22fcbef96 Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions

Closes IDF-1676

See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Marius Vikhammer
fae5185916 CI: regenerate esp_err_to_name.c
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
suren.gabrielyan
55716945a9 mdns: Removed freeRTOS dependancies from fuzzer tests 2021-03-11 08:57:36 +00:00
Fu Hanxi
941574dc2f ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines 2021-03-01 15:20:34 +08:00
Fu Hanxi
bbf2e86c06 fix(ci): check_submodule_sync now will not block ci run 2021-02-26 15:16:55 +08:00
Fu Hanxi
ef18e78a8d feat(ci): run check_submodule_sync_with_file_patterns 2021-02-23 12:43:52 +08:00
Fu Hanxi
e59e245d47 ci(rules): improve rules with build files changed under components folder
- drop target test run with build pattern

- for unit_test on c3, use labels only
2021-02-23 11:32:17 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c ci(rules): add check_tools_file_patterns.py
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00