Skip to content

Commit

Permalink
ci: Actually build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jan 3, 2025
1 parent 58d69d6 commit 176c949
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,18 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Install Polars release build
- name: Build Polars release build
env:
RUSTFLAGS: -C embed-bitcode -D warnings
working-directory: py-polars
run: maturin develop --release -- -C codegen-units=8 -C lto=thin -C target-cpu=native
run: maturin build --release -- -C codegen-units=8 -C lto=thin -C target-cpu=native

- name: Install Polars release build
run: pip install target/wheels/polars*.whl

- name: Set wheel size
run: |
WHEEL_SIZE=$(ls -l py-polars/polars/polars*.so | awk '{ print $5 }')
WHEEL_SIZE=$(ls -l target/wheels/polars*.whl | awk '{ print $5 }')
echo "WHEEL_SIZE=$WHEEL_SIZE" >> $GITHUB_ENV
- name: Wheel size txt
Expand Down

0 comments on commit 176c949

Please sign in to comment.