| ... | ... | @@ -1,6 +1,11 @@ |
| 1 | 1 | name: ci |
| 2 | 2 | on: |
| 3 | 3 | pull_request: |
| 4 | types: |
| 5 | - labeled |
| 6 | - opened |
| 7 | - reopened |
| 8 | - synchronize |
| 4 | 9 | push: |
| 5 | 10 | branches: |
| 6 | 11 | - master |
| ... | ... | @@ -51,7 +56,7 @@ jobs: |
| 51 | 56 | - name: Build and Test |
| 52 | 57 | run: sh ci/aarch64-linux-release.sh |
| 53 | 58 | riscv64-linux-debug: |
| 54 | | if: github.event_name == 'push' |
| 59 | if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') |
| 55 | 60 | timeout-minutes: 420 |
| 56 | 61 | runs-on: [self-hosted, Linux, riscv64] |
| 57 | 62 | steps: |
| ... | ... | @@ -60,7 +65,7 @@ jobs: |
| 60 | 65 | - name: Build and Test |
| 61 | 66 | run: sh ci/riscv64-linux-debug.sh |
| 62 | 67 | riscv64-linux-release: |
| 63 | | if: github.event_name == 'push' |
| 68 | if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') |
| 64 | 69 | timeout-minutes: 420 |
| 65 | 70 | runs-on: [self-hosted, Linux, riscv64] |
| 66 | 71 | steps: |