| ... | ... | @@ -0,0 +1,34 @@ |
| 1 | name: ci-pr-riscv64-linux |
| 2 | on: |
| 3 | pull_request: |
| 4 | types: |
| 5 | - labeled |
| 6 | - opened |
| 7 | - reopened |
| 8 | - synchronize |
| 9 | concurrency: |
| 10 | # Cancels pending runs when a PR gets updated. |
| 11 | group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} |
| 12 | cancel-in-progress: true |
| 13 | permissions: |
| 14 | # Sets permission policy for `GITHUB_TOKEN` |
| 15 | contents: read |
| 16 | jobs: |
| 17 | riscv64-linux-debug: |
| 18 | if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') |
| 19 | timeout-minutes: 420 |
| 20 | runs-on: [self-hosted, Linux, riscv64] |
| 21 | steps: |
| 22 | - name: Checkout |
| 23 | uses: actions/checkout@v4 |
| 24 | - name: Build and Test |
| 25 | run: sh ci/riscv64-linux-debug.sh |
| 26 | riscv64-linux-release: |
| 27 | if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') |
| 28 | timeout-minutes: 420 |
| 29 | runs-on: [self-hosted, Linux, riscv64] |
| 30 | steps: |
| 31 | - name: Checkout |
| 32 | uses: actions/checkout@v4 |
| 33 | - name: Build and Test |
| 34 | run: sh ci/riscv64-linux-release.sh |