Skip to content

Commit

Permalink
fix benchmarks ci (#907)
Browse files Browse the repository at this point in the history
Closes #836
  • Loading branch information
kylebarron authored Dec 6, 2024
1 parent e264261 commit dbb833c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: dtolnay/rust-toolchain@stable
# We use nightly for now so that we can pass RUSTFLAGS below to work around
# https://github.com/geoarrow/geoarrow-rs/issues/716
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: prefix-dev/[email protected]
with:
Expand All @@ -115,6 +117,6 @@ jobs:
echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV"
echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV"
- name: Build benchmarks with no features
run: cargo bench --no-run
run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run
- name: Build benchmarks with all features
run: cargo bench --no-run --all-features
run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run --all-features

0 comments on commit dbb833c

Please sign in to comment.