From 8c2e99588a695513d6d1a9bc3d798304db66c8a6 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Mon, 3 Jun 2024 16:09:31 +0800 Subject: [PATCH] feat: force use 01 machine --- .github/workflows/bench_rspack_commit.yml | 6 +++--- .github/workflows/bench_rspack_pr.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bench_rspack_commit.yml b/.github/workflows/bench_rspack_commit.yml index 71fd754a..d26c18c7 100644 --- a/.github/workflows/bench_rspack_commit.yml +++ b/.github/workflows/bench_rspack_commit.yml @@ -22,13 +22,13 @@ jobs: ref: ${{ inputs.commit_sha }} bench: - runs-on: [self-hosted, benchmark] + runs-on: [self-hosted, benchmark, rspack-benchmark-01] needs: prepare-binding timeout-minutes: 30 strategy: matrix: - shardIndex: [1, 2, 3] - shardTotal: [3] + shardIndex: [1] + shardTotal: [1] fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/bench_rspack_pr.yml b/.github/workflows/bench_rspack_pr.yml index 4e0e896b..bc0c5dfc 100644 --- a/.github/workflows/bench_rspack_pr.yml +++ b/.github/workflows/bench_rspack_pr.yml @@ -44,13 +44,13 @@ jobs: ref: pull/${{ inputs.prNumber }}/head bench: - runs-on: [self-hosted, benchmark] + runs-on: [self-hosted, benchmark, rspack-benchmark-01] needs: [create-comment, prepare-binding] timeout-minutes: 30 strategy: matrix: - shardIndex: [1, 2, 3] - shardTotal: [3] + shardIndex: [1] + shardTotal: [1] fail-fast: false outputs: diff-result: ${{ steps.print-results.outputs.diff-result }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index faadd36b..b07b4d3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,12 +30,12 @@ jobs: bench: needs: prepare-binding - runs-on: [self-hosted, benchmark] + runs-on: [self-hosted, benchmark, rspack-benchmark-01] timeout-minutes: 30 strategy: matrix: - shardIndex: [1, 2, 3] - shardTotal: [3] + shardIndex: [1] + shardTotal: [1] fail-fast: false steps: - name: Checkout