Skip to content

Commit 628d18f

Browse files
committed
chore: test windows builder 2025
1 parent cba9aa3 commit 628d18f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,13 +377,19 @@ jobs:
377377
submodules: true
378378
- name: Setup Rust toolchain
379379
uses: ./.github/actions/setup-windows-builder
380+
- name: Configure Fast Compilation Flags
381+
run: |
382+
echo "RUSTFLAGS=-C target-cpu=native -C opt-level=3 -C lto=thin -C codegen-units=1 -C embed-bitcode=no" >> $env:GITHUB_ENV
383+
echo "CARGO_PROFILE_RELEASE_LTO=true" >> $env:GITHUB_ENV
384+
echo "CARGO_PROFILE_RELEASE_PANIC=abort" >> $env:GITHUB_ENV
380385
- name: Run tests (excluding doctests)
381386
shell: bash
382387
run: |
388+
cargo build --release
383389
export PATH=$PATH:$HOME/d/protoc/bin
384-
cargo test -j 32 --lib --tests --bins --features avro,json,backtrace
390+
cargo test --lib --tests --bins --features avro,json,backtrace --no-fail-fast
385391
cd datafusion-cli
386-
cargo test -j 32 --lib --tests --bins --all-features
392+
cargo test --lib --tests --bins --all-features --no-fail-fast
387393
388394
# Commenting out intel mac build as so few users would ever use it
389395
# Details: https://github.com/apache/datafusion/issues/13846

0 commit comments

Comments
 (0)