Commit Graph

144 Commits

Author SHA1 Message Date
Fu Hanxi 3175db5346 ci: move extra targets need to be built by default to --additional-build-targets 2025-09-29 13:22:42 +02:00
Marek Fiala efa75a9b60 test(tools): Added minimal supported cmake versions build system tests 2025-09-22 16:47:42 +02:00
Xiao Xufeng 5c6150033a ci: generate report for disabled apps 2025-08-31 00:24:24 +08:00
Peter Dragun 519042a1e2 feat: Deprecate Python 3.9
BREAKING CHANGE:
- Minimal supported Python version is now 3.10.
2025-08-01 08:05:10 +02:00
Fu Hanxi 7ada32c39a ci: apply idf-ci for artifacts 2025-07-09 10:33:29 +02:00
Fu Hanxi a5257dcc39 ci: apply idf-ci pytest plugin
Removed

- target markers. Now must use target as parametrization in esp-idf
- host test markers. Now will be automatically added with linux target and qemu marker
2025-07-09 10:33:28 +02:00
Fu Hanxi f33469dd63 ci: apply idf-ci build run
removed script:

- tools/ci/dynamic_pipelines/scripts/child_pipeline_build_apps.py -> idf-ci build run
- tools/ci/ci_build_apps.py -> idf-build-apps build

moved from remove from idf_pytest/constants.py to .idf_build_apps.toml

- DEFAULT_FULL_BUILD_TEST_COMPONENTS
- DEFAULT_FULL_BUILD_TEST_FILEPATTERNS
- DEFAULT_IGNORE_WARNING_FILEPATH
- DEFAULT_BUILD_LOG_FILENAME
- DEFAULT_SIZE_JSON_FILENAME
2025-07-09 10:33:28 +02:00
Fu Hanxi c80d0aded4 ci: apply idf-ci gitlab dynamic-pipeline-variables
Renamed env vars:

- TEST_CASE_FILTERS -> IDF_CI_SELECT_BY_FILTER_EXPR
- BUILD_AND_TEST_ALL_APPS -> IDF_CI_SELECT_ALL_PYTEST_CASES

Removed env vars;

- IS_MR_PIPELINE (could use CI_MERGE_REQUEST_IID)
- REPORT_EXIT_CODE -> IDF_CI_IS_DEBUG_PIPELINE (fail fast)
- PYTEST_IGNORE_COLLECT_IMPORT_ERROR -> always skip import error
2025-07-09 10:33:27 +02:00
Fu Hanxi 0d5b3e60ac ci: remove --enable-pytest from install.sh 2025-07-09 10:33:26 +02:00
Fu Hanxi fcca033ff6 Merge branch 'ci/raise_macos_cache_to_50g' into 'master'
macOS runners - set CCACHE back to 50GB to help VMs

See merge request espressif/esp-idf!39950
2025-06-24 11:10:19 +02:00
Fu Hanxi 667ed2a266 ci: remove host_test runner tag, use more precise build, shiny instead 2025-06-19 15:34:07 +02:00
Peter Macko c2ff554878 ci: macOS runners - set CCACHE back to 50GB to help VMs 2025-06-18 08:17:00 +02:00
Peter Macko c205f50f93 feat(ci): Migrate macOS runners to Parallels VM 2025-06-10 18:08:05 +02:00
Samuel Obuch e80293fdbe ci: select OpenOCD binary based on runner 2025-05-22 20:43:39 +02:00
Fu Hanxi 9f68214ab7 ci: child pipeline default value to avoid circular dependency issue 2025-05-14 10:16:36 +02:00
Fu Hanxi dc05b46ab5 ci: inherit more variables
this is somehow a temporary workaround, the long-term solution shall be
related to `inherit:variables`
2025-05-13 13:27:42 +02:00
Frantisek Hrbata a4acbd2758 feat: Drop Python 3.8 support
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-12 17:02:26 +08:00
Fu Hanxi d03ead4cf8 Merge branch 'ci/improve_overall_logging' into 'master'
ci: target-test job skip installing toolchain, only install python env

See merge request espressif/esp-idf!34232
2024-11-08 23:27:04 +08:00
Fu Hanxi 83306b79ef ci: ignore test-specific 3rd-party libs while building clang projects 2024-11-08 11:15:17 +01:00
Fu Hanxi f84f883ab4 ci: change logging level from debug to info for build jobs 2024-11-08 11:13:43 +01:00
Peter Macko 4fa6e03879 fix(macos): ccache: re-enable, show stats, set CCACHE_DIR, limit CCACHE_MAXSIZE 2024-11-07 22:22:28 +08:00
Fu Hanxi bd26feef9b ci: ignore collect import error 2024-10-16 10:14:30 +02:00
Fu Hanxi 56f8b7158c ci: support diff manifest sha with the base commit 2024-09-26 15:22:56 +02:00
Alexey Gerenkov 9ca231e76e change(build): Use integrated assembler with Clang for RISCV chips 2024-09-18 21:40:39 +03:00
igor.udot e669c7ab5b ci: fast_pipeline yml branch 2024-08-05 16:07:36 +08:00
Alexey Lapshin ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
Alexey Gerenkov 86ef0c23fd refactor(test): Change clang build tests app name 2024-05-03 16:55:18 +03:00
Alexey Gerenkov 57f61d2311 feat(tools): Update Clang version to esp-17.0.1_20240419 2024-05-03 16:55:13 +03:00
Fu Hanxi ed2d492bde ci: check missing runners only when needed 2024-04-22 15:38:36 +02:00
Fu Hanxi a4f691b88a ci: always cleanup idf copy in ci 2024-04-16 15:32:10 +02:00
Fu Hanxi b5607cf43c ci: disable ccache on macos build system test 2024-04-16 15:32:10 +02:00
Fu Hanxi 588ac5f4fb ci: ensure macos selected the correct python installed by pyenv 2024-04-16 15:31:45 +02:00
Ivan Grokhotkov 9e279a3c07 change(ci): temporarily skip failures in macOS tests 2024-04-03 09:21:19 +02:00
Fu Hanxi b5e6b883a5 ci: fix test related apps are force been built 2024-02-20 08:30:22 +01:00
Fu Hanxi b70d65444a ci: always set expire_in and when with artifacts
set it under `default` does not work due to gitlab bugs.
will use `default` back once the bugs are resolved.
2024-02-16 13:43:53 +01:00
Marek Fiala a97e355e74 feat(tools): Run Tools related host tests on Win 2024-02-02 14:58:04 +01:00
Chen Yudong b27cf4d444 ci: update pre_commit jobs 2024-01-30 22:45:21 +08:00
Fu Hanxi 08312412ec ci: check warnings while generating the target test jobs 2024-01-29 13:52:40 +01:00
Fu Hanxi 94433614dc Merge branch 'ci/fix_missing_artifacts_with_dependencies_and_needs_set' into 'master'
ci: lint yaml files that use `dependencies: []` together with `needs`

See merge request espressif/esp-idf!28707
2024-01-26 14:13:43 +08:00
igor.udot 7f36e735a6 ci: fix get_known_failure_cases_file has not been found 2024-01-26 10:44:38 +08:00
Fu Hanxi fc802da68c ci: lint yaml files that use dependencies: [] together with needs 2024-01-25 14:47:53 +01:00
igor.udot f5972ab592 ci: change known_failure_cases workflow 2024-01-21 15:36:25 +08:00
Fu Hanxi a5ece00737 ci: make build_child_pipeline optionally need fast_template_app 2024-01-11 07:21:50 +01:00
Fu Hanxi fba96d58c2 ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00
Fu Hanxi b709c880dd ci: add linter for gitlab yaml files
- remove duplicated artifacts default values
- migrate check_artifacts_expire_time.py
- migrate check_rules_yml.py
2024-01-10 15:29:42 +01:00
Armando 1ab742b3c3 ci(p4): enable esp32p4 target test 2024-01-04 09:34:55 +08:00
Fu Hanxi d3858b493d ci: run pytest_build_system_win only with labels and schedule pipeline 2023-12-07 11:15:55 +01:00
Marek Fiala 0a3b57e48a feat(tools): Add pytest build system on Windows runner 2023-11-29 23:10:37 +01:00
Fu Hanxi a6ccc2e18e ci: optimize git strategy 2023-11-14 15:31:30 +01:00
Aleksei Apaseev b64da91823 ci: Move upload artifacts execution of build and target_test stages to the after script section 2023-11-06 18:24:10 +08:00