summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-03-24 21:09:17 +0100
committerHiFiPhile <[email protected]>2025-03-24 21:09:17 +0100
commit3caff80c8ec5ba06be799d00dd1ff8ac9b58a5bc (patch)
treebe64d4af522196ee43b80510131e0b7ac9c0723a /.github
parentabfbcf5ccca88017dfb50e237a4981e47057b3a8 (diff)
parentcf76af1056e9a3019d9b08503b783a86602374f0 (diff)
Merge remote-tracking branch 'upstream/master' into h7rs
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--.github/workflows/hil_test.yml8
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 355b6b5c4..547763bd8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -111,6 +111,7 @@ jobs:
# ---------------------------------------
# Build IAR on HFP self-hosted
+ # Since IAR Token secret is not passed to forked PR, only build on PR from the same repo
# ---------------------------------------
arm-iar:
if: github.repository_owner == 'hathach' && github.event_name == 'push'
@@ -118,6 +119,7 @@ jobs:
runs-on: [self-hosted, Linux, X64, hifiphile]
env:
BUILD_ARGS: ${{ join(fromJSON(needs.set-matrix.outputs.json)['arm-iar'], ' ') }}
+ IAR_LMS_CLOUD_URL: ${{ vars.IAR_LMS_CLOUD_URL }}
IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
steps:
- name: Clean workspace
@@ -127,7 +129,9 @@ jobs:
mkdir -p "${{ github.workspace }}"
- name: Toolchain version
- run: iccarm --version
+ run: |
+ echo IAR_LMS_CLOUD_URL=$IAR_LMS_CLOUD_URL
+ iccarm --version
- name: Checkout TinyUSB
uses: actions/checkout@v4
diff --git a/.github/workflows/hil_test.yml b/.github/workflows/hil_test.yml
index 3f32bdb5d..c890933ec 100644
--- a/.github/workflows/hil_test.yml
+++ b/.github/workflows/hil_test.yml
@@ -90,11 +90,13 @@ jobs:
# ---------------------------------------
# Hardware in the loop (HIL)
# 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 on PR from the same repo
# ---------------------------------------
hil-hfp:
- if: github.repository_owner == 'hathach'
+ if: github.repository_owner == 'hathach' && github.event.pull_request.head.repo.fork == false
runs-on: [self-hosted, Linux, X64, hifiphile]
env:
+ IAR_LMS_CLOUD_URL: ${{ vars.IAR_LMS_CLOUD_URL }}
IAR_LMS_BEARER_TOKEN: ${{ secrets.IAR_LMS_BEARER_TOKEN }}
steps:
- name: Clean workspace
@@ -104,7 +106,9 @@ jobs:
mkdir -p "${{ github.workspace }}"
- name: Toolchain version
- run: iccarm --version
+ run: |
+ echo IAR_LMS_CLOUD_URL=$IAR_LMS_CLOUD_URL
+ iccarm --version
- name: Checkout TinyUSB
uses: actions/checkout@v4