summaryrefslogtreecommitdiff
path: root/.github/workflows/build_util.yml
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-03 09:57:49 +0700
committerhathach <[email protected]>2025-12-03 11:00:57 +0700
commitee3d3e3551f95757b85de1c2c9777a1daed8f78d (patch)
treeed935ea67c67eba98ab29e0d9dcddc52e89b3137 /.github/workflows/build_util.yml
parent3d190475ad2b71d913e059dfc6f5cc5dafe6555d (diff)
upload metrics.json and aggregate code metrics, fine tune ci matrix run
Diffstat (limited to '.github/workflows/build_util.yml')
-rw-r--r--.github/workflows/build_util.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/build_util.yml b/.github/workflows/build_util.yml
index 848694597..2de0ed229 100644
--- a/.github/workflows/build_util.yml
+++ b/.github/workflows/build_util.yml
@@ -20,6 +20,10 @@ on:
required: false
default: false
type: boolean
+ upload-metrics:
+ required: false
+ default: false
+ type: boolean
os:
required: false
type: string
@@ -70,17 +74,17 @@ jobs:
shell: bash
- name: Upload Artifacts for Metrics
- if: inputs.build-system == 'cmake'
+ if: ${{ inputs.upload-metrics }}
uses: actions/upload-artifact@v4
with:
- name: ${{ matrix.arg }}-metrics
+ name: metrics-${{ matrix.arg }}
path: cmake-build/cmake-build-*/metrics.json
- name: Upload Artifacts for Hardware Testing
if: ${{ inputs.upload-artifacts }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
- name: ${{ matrix.arg }}-binaries
+ name: binaries-${{ matrix.arg }}
path: |
cmake-build/cmake-build-*/*/*/*.elf
cmake-build/cmake-build-*/*/*/*.bin