Commit Graph

101 Commits

Author SHA1 Message Date
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
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Fu Hanxi
25d6935331 ci: add parallel count for build jobs 2023-01-16 10:25:55 +08:00
Chen Yudong
c07d237ffe examples: enable build esp32c6 for wifi and network examples 2023-01-12 14:50:06 +08:00
Chen Yudong
d33344c0d6 test: add build ssc job for esp32c6 2023-01-09 11:35:56 +08:00
Fu Hanxi
fc1f4ee2ba ci: add pytest example jtag job 2022-12-08 14:25:02 +08:00
Alexey Gerenkov
893cc19f75 tools: Adds newlib nano support for clang builds 2022-12-06 12:33:09 +03:00
Chen Yudong
ac01fd47d8 ci: add needs to build_ssc jobs 2022-11-30 11:04:13 +08:00
Alexey Gerenkov
47c2c13de5 build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Song Ruo Jing
2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
zhangwenxu
f3cadb4fab ieee802154: add 154 lib CI initialization. 2022-10-24 16:19:00 +08:00
Fu Hanxi
2d27e09b4f ci: make bringup process for check_build_test_rules.py more friendly 2022-10-10 16:58:11 +08:00
Ivan Grokhotkov
104f2da4c6 Merge branch 'feature/pytest_build_system' into 'master'
build system: add initial version of pytest-based build system tests

See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
Alexey Lapshin
0fd4b09a46 tools: add test for ROM symbols in GDB 2022-09-21 22:39:03 +04:00
Xu Si Yu
07ebc527d5 openthread:add openthread CI 2022-09-16 14:07:31 +08:00
Ivan Grokhotkov
0503cb52eb
build system: add the initial set of pytest-based build system tests 2022-09-16 00:07:55 +02:00
Fu Hanxi
d6c3370535 ci: build apps only on shiny server 2022-08-29 16:57:31 +08:00
Fu Hanxi
62c6a1d8b7 ci: adjust build jobs parallel count 2022-08-29 16:57:31 +08:00