| ... | @@ -1,6 +1,11 @@ | ... | @@ -1,6 +1,11 @@ |
| 1 | name: ci | 1 | name: ci |
| 2 | on: | 2 | on: |
| 3 | pull_request: | 3 | pull_request: |
| | 4 | types: |
| | 5 | - labeled |
| | 6 | - opened |
| | 7 | - reopened |
| | 8 | - synchronize |
| 4 | push: | 9 | push: |
| 5 | branches: | 10 | branches: |
| 6 | - master | 11 | - master |
| ... | @@ -51,7 +56,7 @@ jobs: | ... | @@ -51,7 +56,7 @@ jobs: |
| 51 | - name: Build and Test | 56 | - name: Build and Test |
| 52 | run: sh ci/aarch64-linux-release.sh | 57 | run: sh ci/aarch64-linux-release.sh |
| 53 | riscv64-linux-debug: | 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 | timeout-minutes: 420 | 60 | timeout-minutes: 420 |
| 56 | runs-on: [self-hosted, Linux, riscv64] | 61 | runs-on: [self-hosted, Linux, riscv64] |
| 57 | steps: | 62 | steps: |
| ... | @@ -60,7 +65,7 @@ jobs: | ... | @@ -60,7 +65,7 @@ jobs: |
| 60 | - name: Build and Test | 65 | - name: Build and Test |
| 61 | run: sh ci/riscv64-linux-debug.sh | 66 | run: sh ci/riscv64-linux-debug.sh |
| 62 | riscv64-linux-release: | 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 | timeout-minutes: 420 | 69 | timeout-minutes: 420 |
| 65 | runs-on: [self-hosted, Linux, riscv64] | 70 | runs-on: [self-hosted, Linux, riscv64] |
| 66 | steps: | 71 | steps: |