File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -377,13 +377,19 @@ jobs:
377
377
submodules : true
378
378
- name : Setup Rust toolchain
379
379
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
380
385
- name : Run tests (excluding doctests)
381
386
shell : bash
382
387
run : |
388
+ cargo build --release
383
389
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
385
391
cd datafusion-cli
386
- cargo test -j 32 -- lib --tests --bins --all-features
392
+ cargo test -- lib --tests --bins --all-features --no-fail-fast
387
393
388
394
# Commenting out intel mac build as so few users would ever use it
389
395
# Details: https://github.com/apache/datafusion/issues/13846
You can’t perform that action at this time.
0 commit comments