Skip to content

Commit 4b37237

Browse files
authored
Upload debug info and binaries in parallel after building SQL benchmarks (#9287)
## Rationale for this change These steps are independent, so we can run them in parallel. --------- Signed-off-by: Adam Gutglick <[email protected]>
1 parent 2c9e095 commit 4b37237

1 file changed

Lines changed: 22 additions & 21 deletions

File tree

‎.github/workflows/sql-bench-matrix.yml‎

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,28 @@ jobs:
7474
packages+=(--bin lance-bench)
7575
fi
7676
cargo build "${packages[@]}" --profile release_debug --features unstable_encodings
77-
- name: Upload binaries
78-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
79-
with:
80-
name: bench-binaries
81-
path: |
82-
target/release_debug/data-gen
83-
target/release_debug/datafusion-bench
84-
target/release_debug/duckdb-bench
85-
target/release_debug/lance-bench
86-
target/release_debug/build/vortex-duckdb-cache/duckdb-lib-*-prebuilt/libduckdb.so
87-
- name: Pre-upload SQL benchmark debuginfo to Polar Signals
88-
if: inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false
89-
uses: ./.github/actions/upload-parca-debuginfo
90-
continue-on-error: true
91-
with:
92-
paths: |
93-
target/release_debug/datafusion-bench
94-
target/release_debug/duckdb-bench
95-
${{ inputs.mode != 'pr' && 'target/release_debug/lance-bench' || '' }}
96-
polarsignals-cloud-token: ${{ secrets.POLAR_SIGNALS_API_KEY }}
97-
project-id: "e5d846e1-b54c-46e7-9174-8bf055a3af56"
77+
- parallel:
78+
- name: Upload binaries
79+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
80+
with:
81+
name: bench-binaries
82+
path: |
83+
target/release_debug/data-gen
84+
target/release_debug/datafusion-bench
85+
target/release_debug/duckdb-bench
86+
target/release_debug/lance-bench
87+
target/release_debug/build/vortex-duckdb-cache/duckdb-lib-*-prebuilt/libduckdb.so
88+
- name: Pre-upload SQL benchmark debuginfo to Polar Signals
89+
if: inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false
90+
uses: ./.github/actions/upload-parca-debuginfo
91+
continue-on-error: true
92+
with:
93+
paths: |
94+
target/release_debug/datafusion-bench
95+
target/release_debug/duckdb-bench
96+
${{ inputs.mode != 'pr' && 'target/release_debug/lance-bench' || '' }}
97+
polarsignals-cloud-token: ${{ secrets.POLAR_SIGNALS_API_KEY }}
98+
project-id: "e5d846e1-b54c-46e7-9174-8bf055a3af56"
9899
99100
bench:
100101
needs: [resolve-matrix, build]

0 commit comments

Comments
 (0)