Commit Graph

68 Commits

Author SHA1 Message Date
Fu Hanxi
3026d562ec add README.md to explain how to add/modify jobs/rules/ifs
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00
Fu Hanxi
1b06cbe3ef utils.sh: add function info, warning, error. Turn retry_failed.sh into a function
includes `utils.sh` everywhere
2020-10-26 10:25:21 +08:00
Fu Hanxi
7951152f7b CI: Refactor CI rules into rules.yml.
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Fu Hanxi
31c03a95da CI: Exclude list for sonarqube 2020-10-12 12:27:42 +08:00
morris
9fa06719fa global: enable build uinit test for esp32-s3 2020-09-22 15:15:03 +08:00
Anton Maklakov
a1d419da08 Merge branch 'bugfix/build_docs_pdf_job' into 'master'
docs: seperate build_docs html and pdf CI jobs

Closes IDF-2038

See merge request espressif/esp-idf!10438
2020-09-22 13:20:49 +08:00
Marius Vikhammer
06af651a51 docs: seperate build_docs html and pdf CI jobs
Due to eager_exclude, Sphinx jobs cannot use the doc cache (doctrees).

PDF and HTML building are now seperate CI jobs to avoid this issue.
PDF building will only be ran on deploy branches and when started
with build_docs tag to reduce CI load
2020-09-21 10:48:04 +08:00
Ivan Grokhotkov
72aaf83747 Merge branch 'sonarqube/pylint_with_py3' into 'master'
CI: Sonarqube: Use Python version 3 and pylint 2.6

See merge request espressif/esp-idf!10243
2020-09-16 01:59:33 +08:00
Sergei Silnov
38dc0cc5f6 ci: Use git mirror for docker image 2020-09-11 16:27:20 +02:00
Fu Hanxi
e35328afd9 build component unit test apps
use idf_py_actions supported targets
2020-09-07 12:11:55 +08:00
Fu Hanxi
9ba194f78a CI: Sonarqube: run python analysis with python 3 2020-09-02 14:42:07 +08:00
Fu Hanxi
6c4ab5938c fix the bug that will cause sonarqube fail when got issue to report but can't get CI_MERGE_REQUEST_IID because it's not a MR pipeline 2020-09-01 16:37:17 +08:00
Fu Hanxi
478017e367 clean up the detached pipeline 2020-08-31 15:04:29 +08:00
Fu Hanxi
aeb3c02746 Add sonarqube code static analysis for idf project 2020-08-24 14:39:15 +08:00
Michael (XIAO Xufeng)
ad6609a561 ci: build s2 template app in pre_build of pre_check stage
This will fail pipeline earlier if template project of S2 cannot pass
the build.

The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
2020-08-10 18:00:39 +08:00
Fu Hanxi
0478edc6ba CI: download only required bin for unit-tests. Refactor AssignTest related code 2020-08-04 13:27:16 +08:00
Jakob Hasse
2d846414ce Increased parallel for build_examples_cmake_esp32 2020-07-24 10:29:48 +08:00
Fu Hanxi
6885421976 CI: add size info for binaries 2020-07-21 16:00:05 +08:00
Anton Maklakov
34b677d03b ci: use the retry script to download 2020-07-20 15:18:32 +07:00
Felipe Neves
b6dba84323 ulp: added support to building code for riscv ULP coprocessor 2020-07-15 15:28:49 -03:00
Fu Hanxi
0b521d36ea test if don't run build_test_apps in integration_test 2020-07-09 15:01:38 +08:00
Fu Hanxi
270e7dec38 update after MR reviews 2020-07-06 19:05:44 +08:00
Fu Hanxi
a882353c32 change scan result path 2020-07-06 19:05:44 +08:00
Fu Hanxi
010d7e9023 apply to make build system 2020-07-06 19:05:44 +08:00
Fu Hanxi
b26d42afe3 Now scan_tests will generate 'scan_<target>.json`
also updated CI yaml and shell scripts
2020-07-06 19:05:44 +08:00
Fu Hanxi
961a8cf85e remove artifact config in ci. 2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e make supported in find_apps/build_apps 2020-05-22 19:08:02 +08:00
Ivan Grokhotkov
a63f65dd6f ci: don't run build system tests on unit_test or custom_test labels 2020-05-12 22:27:06 +02:00
Fu Hanxi
01ff4f621f Add build_unit_test.sh to do find_apps and build_apps to unit_tests
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Marius Vikhammer
8a3d806798 doc: update CI to build PDF 2020-04-15 17:14:27 +08:00
Marius Vikhammer
407275f681 doc: add latex and PDF generation to build_docs
Adds options for generating tex-files and PDFs when building documentation

Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
David Cermak
25803b9dc4 ci: run custom-test separately from example-tests 2020-04-08 14:41:05 +02:00
Michael (XIAO Xufeng)
322faa727f ci: temporarily remove some artifacts from UT build 2020-03-25 12:42:35 +08:00
Angus Gratton
1a2ddcb77a docs: deploy docs to production server from CI 2020-03-16 14:36:23 +11:00
Angus Gratton
416076665b docs: use new sphinx_idf_theme theme, add variables to allow theme to build version footer 2020-03-16 14:36:23 +11:00
Michael (XIAO Xufeng)
27b194bdb9 ci: fix the issue unit_test_s2 label cannot be used independently 2020-03-05 11:10:49 +08:00
Angus Gratton
0441c5d744 docs ci: Use the final version of the esp-idf-doc-env image
(Content is the same)
2020-02-10 19:55:46 +11:00
Angus Gratton
3017bfb8e3 Merge branch 'feature/test_apps_v2' into 'master'
test apps (2nd attempt)

Closes IDF-641

See merge request espressif/esp-idf!7084
2020-02-07 15:23:26 +08:00
Angus Gratton
291735c7dd docs: Move to Python 3.5+ and Sphinx 2.3 2020-02-07 16:47:50 +11:00
Angus Gratton
ee03e04947 docs: Run build_docs script in ci 2020-02-07 16:37:44 +11:00
David Cermak
692deac5ae CI: assign and target-test stages updated to run test-apps in the ci 2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
e63764b468 CI: test-apps introduction
Introducing feature of adding arbitrary projects which could be build or
executed in the CI for the only purpose as testing

Closes IDF-641
2020-02-06 16:46:41 +00:00
morris
e30cd361a8 global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
He Yin Ling
bb442bd015 test: add build ssc job for esp32s2beta 2020-01-10 14:14:51 +08:00
Angus Gratton
b18e7b94a2 ci: Keep build artifacts for 4 days 2019-12-12 09:39:27 +11:00
Roland Dobai
b52b49c8b6 CI: Do check first in order to save build time 2019-12-02 09:58:31 +01:00
morris
dcd99b0ad1 enlarge example cmake build job parallel num 2019-11-27 14:14:08 +08:00
Ivan Grokhotkov
e1aee5ad09 ci: reimplement build_examples_cmake using {find,build}_apps.py 2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
9ffd444e52 Merge branch 'feature/ci_macos_build_system_test' into 'master'
ci: add CMake build system test for macOS

See merge request espressif/esp-idf!6552
2019-11-01 18:41:30 +08:00
Ivan Grokhotkov
cfe9244a96 ci: add build system test on macOS 2019-10-30 19:44:15 +01:00