mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
ci: run riscv64-linux jobs if ci-riscv64-linux label is applied
This commit is contained in:
parent
0d0f09fb0e
commit
8101104db0
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user