From 4f0d54ebbe140fe2146fadd9c10214e043dce9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Wed, 29 Oct 2025 14:16:09 +0100 Subject: [PATCH] [CI][Bench] Add names for steps in composite action When action is used as composite, its steps don't disaply the actual 'name' defined for each step. Instead a full command to execute is displayed. To work around it we can put name as a comment in the first line of the command. --- .github/workflows/sycl-linux-run-tests.yml | 3 ++- devops/actions/run-tests/benchmark/action.yml | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sycl-linux-run-tests.yml b/.github/workflows/sycl-linux-run-tests.yml index cc8733aaa830..202ffd0488ef 100644 --- a/.github/workflows/sycl-linux-run-tests.yml +++ b/.github/workflows/sycl-linux-run-tests.yml @@ -330,7 +330,8 @@ jobs: - run: which clang++ sycl-ls - run: sycl-ls --verbose - run: SYCL_UR_TRACE=1 sycl-ls - - run: | + - name: Print IGC version + run: | if [ -f /usr/local/lib/igc/IGCTAG.txt ]; then cat /usr/local/lib/igc/IGCTAG.txt fi diff --git a/devops/actions/run-tests/benchmark/action.yml b/devops/actions/run-tests/benchmark/action.yml index 073501dcbb22..0a442f2c869d 100644 --- a/devops/actions/run-tests/benchmark/action.yml +++ b/devops/actions/run-tests/benchmark/action.yml @@ -38,6 +38,7 @@ inputs: required: False runs: + # composite actions don't make use of 'name', so copy-paste names as a comment in the first line of each step using: "composite" steps: - name: Check specified runner type / target backend @@ -46,6 +47,7 @@ runs: TARGET_DEVICE: ${{ inputs.target_devices }} PRESET: ${{ inputs.preset }} run: | + # Check specified runner type / target backend case "$RUNNER_TAG" in '["PVC_PERF"]' ) ;; '["BMG_PERF"]' ) ;; @@ -114,6 +116,7 @@ runs: - name: Build Unified Runtime shell: bash run: | + # Build Unified Runtime # Sparse-checkout UR at build ref: git clone --depth 1 --no-checkout https://github.com/intel/llvm ur cd ur @@ -140,14 +143,16 @@ runs: - name: Checkout results repo shell: bash run: | + # Checkout results repo git clone -b unify-ci https://github.com/intel/llvm-ci-perf-results - - name: Run compute-benchmarks + - name: Build and run benchmarks env: # Need to append "__" to save name in order to follow # conventions: SAVE_PREFIX: ${{ inputs.save_name }} shell: bash run: | + # Build and run benchmarks # TODO generate summary + display helpful message here export CMPLR_ROOT=./toolchain echo "-----" @@ -231,7 +236,8 @@ runs: - name: Cache changes and upload github summary if: always() shell: bash - run: | + run: | + # Cache changes and upload github summary [ -f "github_summary.md" ] && cat github_summary.md >> $GITHUB_STEP_SUMMARY cd "./llvm-ci-perf-results" @@ -244,6 +250,7 @@ runs: if: inputs.upload_results == 'true' && always() shell: bash run: | + # Push benchmarks results cd "./llvm-ci-perf-results" git config user.name "SYCL Benchmarking Bot" git config user.email "sys_sycl_benchmarks@intel.com"