From 0ea9dcb0f6cfa22e2b0fdc22e8c2aaad14e7d6d4 Mon Sep 17 00:00:00 2001 From: Octavio Godoy Date: Thu, 9 Apr 2026 14:32:31 +0200 Subject: [PATCH] ci: Add HTML prebuild report --- .gitlab-ci.yml | 1 + .gitlab/ci/prebuild_report.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .gitlab/ci/prebuild_report.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56fbdd7..0d1264c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,7 @@ include: - local: ".gitlab/ci/docs.yml" - local: ".gitlab/ci/test.yml" - local: ".gitlab/ci/deploy.yml" + - local: ".gitlab/ci/prebuild_report.yml" workflow: rules: diff --git a/.gitlab/ci/prebuild_report.yml b/.gitlab/ci/prebuild_report.yml new file mode 100644 index 0000000..a12a739 --- /dev/null +++ b/.gitlab/ci/prebuild_report.yml @@ -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"