authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-08 17:08:14+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-08 17:08:14+02:00
log87f2dadbf19cd9b6d54c76d7a35df3328f1ffc53
treede860d102e6142c6e80871fc7a7c6ebe44e1563a
parentac3229a43573c14d619a16eb055f6bf05f580636
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

ci: run riscv64-linux jobs if ci-riscv64-linux label is applied

This needs to be a separate workflow so that it doesn't interfere with non-CI labeling of pull requests.

1 files changed, 34 insertions(+), 0 deletions(-)

.github/workflows/ci-pr-riscv64-linux.yaml created+34
...@@ -0,0 +1,34 @@
1name: ci-pr-riscv64-linux
2on:
3 pull_request:
4 types:
5 - labeled
6 - opened
7 - reopened
8 - synchronize
9concurrency:
10 # Cancels pending runs when a PR gets updated.
11 group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
12 cancel-in-progress: true
13permissions:
14 # Sets permission policy for `GITHUB_TOKEN`
15 contents: read
16jobs:
17 riscv64-linux-debug:
18 if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux')
19 timeout-minutes: 420
20 runs-on: [self-hosted, Linux, riscv64]
21 steps:
22 - name: Checkout
23 uses: actions/checkout@v4
24 - name: Build and Test
25 run: sh ci/riscv64-linux-debug.sh
26 riscv64-linux-release:
27 if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux')
28 timeout-minutes: 420
29 runs-on: [self-hosted, Linux, riscv64]
30 steps:
31 - name: Checkout
32 uses: actions/checkout@v4
33 - name: Build and Test
34 run: sh ci/riscv64-linux-release.sh