commit 8101104db0bdc7edeb07d91ab758c8a8d0861061 (tree)
parent 0d0f09fb0ee60b5fa42f51732bde2a4db43453a8
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 8 Aug 2025 16:46:49 +0200
ci: run riscv64-linux jobs if ci-riscv64-linux label is applied
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
@@ -1,6 +1,11 @@
name: ci
on:
pull_request:
+ types:
+ - labeled
+ - opened
+ - reopened
+ - synchronize
push:
branches:
- master
@@ -51,7 +56,7 @@ jobs:
- name: Build and Test
run: sh ci/aarch64-linux-release.sh
riscv64-linux-debug:
- if: github.event_name == 'push'
+ if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux')
timeout-minutes: 420
runs-on: [self-hosted, Linux, riscv64]
steps:
@@ -60,7 +65,7 @@ jobs:
- name: Build and Test
run: sh ci/riscv64-linux-debug.sh
riscv64-linux-release:
- if: github.event_name == 'push'
+ if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux')
timeout-minutes: 420
runs-on: [self-hosted, Linux, riscv64]
steps: