mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-06-05 21:04:46 +00:00
ci: Add HTML prebuild report
This commit is contained in:
@@ -18,6 +18,7 @@ include:
|
|||||||
- local: ".gitlab/ci/docs.yml"
|
- local: ".gitlab/ci/docs.yml"
|
||||||
- local: ".gitlab/ci/test.yml"
|
- local: ".gitlab/ci/test.yml"
|
||||||
- local: ".gitlab/ci/deploy.yml"
|
- local: ".gitlab/ci/deploy.yml"
|
||||||
|
- local: ".gitlab/ci/prebuild_report.yml"
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
generate_prebuild_report:
|
||||||
|
stage: pre_check
|
||||||
|
image: espressif/idf:latest
|
||||||
|
tags: [build]
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- prebuild_report.html
|
||||||
|
expire_in: 1 week
|
||||||
|
when: always
|
||||||
|
script:
|
||||||
|
- pip install -U idf-ci
|
||||||
|
- idf-ci build collect --format html -o prebuild_report.html
|
||||||
|
- echo "Report generated at ${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/file/prebuild_report.html"
|
||||||
Reference in New Issue
Block a user