Skip to content

Commit 2280cc9

Browse files
authored
ci: fix local benchmark (#17718)
1 parent c49960f commit 2280cc9

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

.github/workflows/reuse.benchmark.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -42,50 +42,50 @@ env:
4242
RUNNER_PROVIDER: ${{ inputs.runner_provider }}
4343

4444
jobs:
45-
# local:
46-
# timeout-minutes: 60
47-
# runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
48-
# strategy:
49-
# matrix:
50-
# dataset:
51-
# - internal
52-
# # - hits
53-
# fail-fast: true
54-
# max-parallel: 1
55-
# steps:
56-
# - uses: actions/checkout@v4
57-
# if: inputs.source == 'release'
58-
# with:
59-
# ref: ${{ inputs.sha }}
60-
# - uses: actions/checkout@v4
61-
# if: inputs.source == 'pr'
62-
# with:
63-
# ref: "refs/pull/${{ inputs.source_id }}/merge"
64-
# - uses: ./.github/actions/setup_bendsql
65-
# - uses: ./.github/actions/setup_test
66-
# - name: Download artifact
67-
# uses: ./.github/actions/artifact_download
68-
# with:
69-
# sha: ${{ inputs.sha }}
70-
# target: x86_64-unknown-linux-gnu
71-
# category: full
72-
# artifacts: meta,query
73-
# - name: Setup Databend Binary
74-
# shell: bash
75-
# run: |
76-
# sudo cp ./target/release/databend-* /usr/local/bin/
77-
# databend-query --version
78-
# databend-meta --version
79-
# - uses: ./.github/actions/benchmark_local
80-
# if: inputs.target == 'local' || inputs.target == 'all'
81-
# timeout-minutes: 30
82-
# id: benchmark
83-
# with:
84-
# sha: ${{ inputs.sha }}
85-
# run_id: ${{ inputs.run_id }}
86-
# dataset: ${{ matrix.dataset }}
87-
# source: ${{ inputs.source }}
88-
# source_id: ${{ inputs.source_id }}
45+
local:
46+
timeout-minutes: 60
47+
runs-on: [self-hosted, X64, Linux, 8c32g, "${{ inputs.runner_provider }}"]
48+
strategy:
49+
matrix:
50+
dataset:
51+
- internal
52+
# - hits
53+
fail-fast: true
54+
max-parallel: 1
55+
steps:
56+
- uses: actions/checkout@v4
57+
if: inputs.source == 'release'
58+
with:
59+
ref: ${{ inputs.sha }}
60+
- uses: actions/checkout@v4
61+
if: inputs.source == 'pr'
62+
with:
63+
ref: "refs/pull/${{ inputs.source_id }}/merge"
64+
# - uses: ./.github/actions/setup_bendsql
65+
# - uses: ./.github/actions/setup_test
66+
# - name: Download artifact
67+
# uses: ./.github/actions/artifact_download
68+
# with:
69+
# sha: ${{ inputs.sha }}
70+
# target: x86_64-unknown-linux-gnu
71+
# category: full
72+
# artifacts: meta,query
73+
# - name: Setup Databend Binary
74+
# shell: bash
75+
# run: |
76+
# sudo cp ./target/release/databend-* /usr/local/bin/
77+
# databend-query --version
78+
# databend-meta --version
79+
# - uses: ./.github/actions/benchmark_local
80+
# if: inputs.target == 'local' || inputs.target == 'all'
81+
# timeout-minutes: 30
82+
# id: benchmark
83+
# with:
84+
# sha: ${{ inputs.sha }}
85+
# run_id: ${{ inputs.run_id }}
86+
# dataset: ${{ matrix.dataset }}
87+
# source: ${{ inputs.source }}
88+
# source_id: ${{ inputs.source_id }}
8989

9090
load:
9191
runs-on: [self-hosted, X64, Linux, 2c8g, "${{ inputs.runner_provider }}"]

0 commit comments

Comments
 (0)