install DuckDB when running benchmarks #341
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: | |
# TODO(aduffy): delete this | |
pull_request: {} | |
push: | |
branches: [develop] | |
permissions: | |
actions: read | |
contents: write | |
deployments: write | |
jobs: | |
bench: | |
runs-on: ubuntu-latest-large | |
#if: ${{ github.ref_name == 'develop' }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ./.github/actions/cleanup | |
- uses: ./.github/actions/setup-rust | |
- uses: ./.github/actions/setup-python | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
- name: Setup bencher.dev CLI | |
uses: bencherdev/bencher@main | |
# The compression benchmarks rely on DuckDB being installed to convert CSV to Parquet | |
- name: Install DuckDB | |
uses: opt-nc/[email protected] | |
with: | |
version: v1.0.0 | |
- name: Upload Vortex Benchmarks | |
run: | | |
bencher run \ | |
--project vortex \ | |
--token "${BENCHER_TOKEN}" \ | |
--adapter rust_criterion \ | |
--testbed "github-actions" \ | |
"cargo bench -p bench-vortex" | |
env: | |
BENCHER_TOKEN: ${{ secrets.BENCHER_TOKEN }} | |
# AWS Credentials for R2 storage tests | |
AWS_BUCKET: vortex-test | |
AWS_ENDPOINT: ${{ secrets.AWS_ENDPOINT_URL }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |