From 9a2bd7b46ca06490f96d7a7de5ff7d775ef9cfdb Mon Sep 17 00:00:00 2001 From: HiFiPhile Date: Sun, 26 Apr 2026 12:47:59 +0200 Subject: run hil_hfp on gcc build Co-authored-by: Copilot Signed-off-by: HiFiPhile --- .github/workflows/build.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60f4c7ca1..cd71740ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} -env: - HIL_JSON: test/hil/tinyusb.json - jobs: # Check if the code changes and we need to run ci build # Cannot use paths filter in the on-event since we want this workflow to run even when there are no code changes, to register the commit chain @@ -59,11 +56,12 @@ jobs: id: set-matrix-json run: | # build matrix - MATRIX_JSON=$(python .github/workflows/ci_set_matrix.py)/ + MATRIX_JSON=$(python .github/workflows/ci_set_matrix.py) echo "matrix=$MATRIX_JSON" echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT - # hil matrix - HIL_MATRIX_JSON=$(python test/hil/hil_ci_set_matrix.py ${{ env.HIL_JSON }}) + + # HIL matrix (merged from tinyusb + hifiphile configs) + HIL_MATRIX_JSON=$(python test/hil/hil_ci_set_matrix.py test/hil/tinyusb.json test/hil/hfp.json) echo "hil_matrix=$HIL_MATRIX_JSON" echo "hil_matrix=$HIL_MATRIX_JSON" >> $GITHUB_OUTPUT @@ -239,7 +237,7 @@ jobs: # --------------------------------------- # Hardware in the loop (HIL) - # Run on PR only (hil-tinyusb), hil-hfp only run on non-forked PR + # Run on PR only (hil-tinyusb), hil-hfp-iar only run on non-forked PR # --------------------------------------- hil-build: needs: [ check-paths, set-matrix ] @@ -263,7 +261,17 @@ jobs: # --------------------------------------- hil-tinyusb: needs: hil-build - runs-on: [ self-hosted, X64, hathach, hardware-in-the-loop ] + strategy: + fail-fast: false + matrix: + include: + - runner: [ self-hosted, X64, hathach, hardware-in-the-loop ] + hil_json: test/hil/tinyusb.json + - runner: [ self-hosted, Linux, X64, hifiphile ] + hil_json: test/hil/hfp.json + runs-on: ${{ matrix.runner }} + env: + HIL_JSON: ${{ matrix.hil_json }} steps: - name: Get Skip Boards from previous run if: github.run_attempt != '1' @@ -308,7 +316,7 @@ jobs: # self-hosted by HFP, build with IAR toolchain, for attached hardware checkout test/hil/hfp.json # Since IAR Token secret is not passed to forked PR, only build non-forked PR # --------------------------------------- - hil-hfp: + hil-hfp-iar: needs: [ check-paths ] if: | needs.check-paths.outputs.code_changed == 'true' && -- cgit v1.3.1 From d11543a72260c340836aff505104e27cfdc92ccb Mon Sep 17 00:00:00 2001 From: HiFiPhile Date: Sun, 26 Apr 2026 14:10:57 +0200 Subject: change job name Co-authored-by: Copilot Signed-off-by: HiFiPhile --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd71740ae..b0b2d0db4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -261,13 +261,16 @@ jobs: # --------------------------------------- hil-tinyusb: needs: hil-build + name: HIL - ${{ matrix.display }} strategy: fail-fast: false matrix: include: - - runner: [ self-hosted, X64, hathach, hardware-in-the-loop ] + - display: hathach tinyusb + runner: [ self-hosted, X64, hathach, hardware-in-the-loop ] hil_json: test/hil/tinyusb.json - - runner: [ self-hosted, Linux, X64, hifiphile ] + - display: hifiphile hfp + runner: [ self-hosted, Linux, X64, hifiphile ] hil_json: test/hil/hfp.json runs-on: ${{ matrix.runner }} env: -- cgit v1.3.1 From 2c6d42771e2707f38cefc782a1defefff6a7e22d Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 29 Apr 2026 15:43:01 +0700 Subject: clean up --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0b2d0db4..a88b8ffba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -261,15 +261,15 @@ jobs: # --------------------------------------- hil-tinyusb: needs: hil-build - name: HIL - ${{ matrix.display }} + name: hil-tinyusb (${{ matrix.display }}) strategy: fail-fast: false matrix: include: - - display: hathach tinyusb + - display: tinyusb.json runner: [ self-hosted, X64, hathach, hardware-in-the-loop ] hil_json: test/hil/tinyusb.json - - display: hifiphile hfp + - display: hfp.json runner: [ self-hosted, Linux, X64, hifiphile ] hil_json: test/hil/hfp.json runs-on: ${{ matrix.runner }} -- cgit v1.3.1