From 9e3bdedd023266cbcd726d3cb668dc9845579d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sat, 14 Dec 2024 06:40:09 +0300 Subject: [PATCH] bnt daily MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/build-and-test-daily.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-daily.yaml b/.github/workflows/build-and-test-daily.yaml index b2612f2fcd1f0..bf93ef70d29f5 100644 --- a/.github/workflows/build-and-test-daily.yaml +++ b/.github/workflows/build-and-test-daily.yaml @@ -82,8 +82,9 @@ jobs: shell: bash - name: Build + id: build if: ${{ steps.get-self-packages.outputs.self-packages != '' }} - uses: autowarefoundation/autoware-github-actions/colcon-build@v1 + uses: autowarefoundation/autoware-github-actions/colcon-build@feat/build-time-vis with: rosdistro: ${{ matrix.rosdistro }} target-packages: ${{ steps.get-self-packages.outputs.self-packages }} @@ -94,6 +95,22 @@ jobs: run: du -sh ${CCACHE_DIR} && ccache -s shell: bash + - uses: actions/upload-artifact@v4 + id: upload-artifact-treemap + if: ${{ steps.build.outputs.build-time-treemap-path != '' }} + with: + name: build-time-visualization-treemap + path: ${{ steps.build.outputs.build-time-treemap-path }} + + - name: Visualize build time treemap + if: ${{ steps.build.outputs.build-time-treemap-path != '' }} + run: | + echo "## Build Time Treemap Visualization" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo ${{ steps.upload-artifact-treemap.outputs.artifact-url }} >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + shell: bash + - name: Test if: ${{ steps.get-self-packages.outputs.self-packages != '' }} id: test