Skip to content

Commit

Permalink
Merge branch 'pola-rs:main' into gh/19400
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideCanton authored Oct 30, 2024
2 parents 2c7ff32 + 18fbf52 commit a997d92
Show file tree
Hide file tree
Showing 242 changed files with 3,003 additions and 1,310 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/benchmark-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ name: Remote Benchmark

on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
types: [ labeled ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event.label.name == 'needs-bench' }}

env:
SCALE_FACTOR: '10.0'

jobs:
main:
if: ${{ github.event.label.name == 'needs-bench' }}
if: ${{ github.ref == 'refs/heads/main' || github.event.label.name == 'needs-bench' }}
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -63,3 +66,9 @@ jobs:
working-directory: polars-benchmark
run: |
make run-polars-no-env
- name: Cache the Polars build
if: ${{ github.ref == 'refs/heads/main' }}
working-directory: py-polars
run: |
"$HOME/py-polars-cache/cache-build.sh" "$PWD/polars"
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
env:
RUSTFLAGS: -C embed-bitcode -D warnings
working-directory: py-polars
run: maturin develop --features new_streaming --release -- -C codegen-units=8 -C lto=thin -C target-cpu=native
run: maturin develop --release -- -C codegen-units=8 -C lto=thin -C target-cpu=native

- name: Run benchmark tests
uses: CodSpeedHQ/action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
command: build
target: ${{ steps.target.outputs.target }}
args: >
--release
--profile dist-release
--manifest-path py-polars/Cargo.toml
--out dist
manylinux: ${{ matrix.architecture == 'aarch64' && '2_24' || 'auto' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
save-if: ${{ github.ref_name == 'main' }}

- name: Install Polars
run: maturin develop --features new_streaming
run: maturin develop

- name: Run doctests
if: github.ref_name != 'main' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
Expand Down
Loading

0 comments on commit a997d92

Please sign in to comment.