aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-08-08 16:46:49 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-08-08 16:49:54 +0200
commit8101104db0bdc7edeb07d91ab758c8a8d0861061 (patch)
tree34c87fd3938416fe9a656049e05f70a10b94e136 /.github/workflows
parent0d0f09fb0ee60b5fa42f51732bde2a4db43453a8 (diff)
downloadzig-8101104db0bdc7edeb07d91ab758c8a8d0861061.tar.gz
zig-8101104db0bdc7edeb07d91ab758c8a8d0861061.zip
ci: run riscv64-linux jobs if ci-riscv64-linux label is applied
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 32c6702939..7b6244221f 100644
--- 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: