Commit Graph

119 Commits

Author SHA1 Message Date
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
Marius Vikhammer
eceefa878f Merge branch 'ci/build_test_add_known_failure' into 'master'
ci(build_test): add known-failure check

See merge request espressif/esp-idf!26618
2023-10-26 15:30:19 +08:00
Fu Hanxi
1726ce888d
ci: tune build test jobs parallel count 2023-10-23 10:43:51 +02:00
Marius Vikhammer
9b8aa6a792 ci(build_test): add known-failure check 2023-10-22 09:12:45 +08:00
Chen Yudong
1a2953ae13 ci: dynamic integration test child pipeline 2023-10-18 12:59:29 +08:00
Fu Hanxi
79bc66b323
ci: upload to minio server instead of gitlab artifacts for pytest jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi
6be05d415b
ci: remove unit-test-app ci jobs 2023-10-13 13:01:16 +02:00
Fu Hanxi
a3a8c2acb9
ci: move default variables, before(after)_script into a single file
could help reuse the default settings on main pipeline and child
pipeline

renamed:
- .before_script_minimal -> .before_script:minimal
- .before_script_macos -> .before_script:build:macos
- .before_script_build_jobs -> .before_script:build
2023-10-13 12:55:51 +02:00
Marek Fiala
8ad3c8ca1f refactor(tools): Run build system pytest on macos 2023-08-31 12:54:19 +02:00
Marek Fiala
7d2d8b7839 refactor(tools): Remove test_build_system_cmake.sh & test_build_system_spaces.py 2023-08-31 12:54:19 +02:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Marius Vikhammer
7f2654e309 ci(build): increase parallel count for H2 builds 2023-08-10 14:23:48 +08:00
Chen Yudong
2c22b74479 ci(rules): add patterns fast template app
Update pre-check job rules
2023-07-18 11:21:24 +08:00
Chen Yudong
6454c32616 ci(artifacts): upload build logs when build ssc failed 2023-06-30 06:35:05 +00:00
Fu Hanxi
4ff9ed5971 ci: fix duplicated names for app list issue 2023-06-05 10:19:11 +08:00
Fu Hanxi
22e2738f78 ci: build and test only modified components related test cases 2023-05-26 22:59:57 +08:00
laokaiyao
1f84f6c6ed esp32h4: remove esp32h4 target from ci 2023-04-20 15:19:47 +08:00
Roland Dobai
b30a357711 Merge branch 'ci/parallel_pytest_build_tests' into 'master'
CI: Split pytest build system tests into parallel jobs

Closes IDFCI-1680

See merge request espressif/esp-idf!23147
2023-04-12 16:57:44 +08:00
Anton Maklakov
09ecb70cb8 Merge branch 'ci/keep_template_app_artifacts' into 'master'
ci: keep size.json artifacts from all template targets

See merge request espressif/esp-idf!23115
2023-04-12 14:44:54 +08:00
Roland Dobai
c3daa561a7 CI: Split pytest build system tests into parallel jobs 2023-04-11 17:36:29 +02:00
Marius Vikhammer
f29a897de6 ci: keep size.json artifacts from all template targets 2023-04-07 19:44:42 +08:00
Fu Hanxi
d18b6ade6e ci: increase concurrency number of build_pytest_components_esp32h2 2023-04-07 12:29:30 +08:00
Fu Hanxi
d036edfe1b ci: move tools/test_apps build jobs into one 2023-04-07 12:29:30 +08:00
Chen Yudong
8f2a230c2f CI: enable build ssc esp32h2 2023-04-06 13:12:27 +08:00
Xu Si Yu
6212ba6d35 IEEE802154: replace esp32h4 with esp32c6 for IEEE802.15.4 CI test 2023-02-28 15:04:04 +08:00
Fu Hanxi
fba7920569 ci: use brew runners by default for host test jobs 2023-01-18 07:41:35 +00:00