Skip to content

Commit

Permalink
CI: Windows compilation time
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Dec 10, 2024
1 parent 90bd294 commit cdb463d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
shell: bash
run: |
export PATH=$PATH:$HOME/d/protoc/bin
export RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=native -C debuginfo=line-tables-only"
echo $RUSTFLAGS
cargo test --lib --tests --bins --features avro,json,backtrace --profile windows
cargo test --lib --tests --bins --features avro,json,backtrace --profile=release-windows
cd datafusion-cli
cargo test --lib --tests --bins --all-features --profile windows
cargo test --lib --tests --bins --all-features --profile=release-windows
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ overflow-checks = false
panic = 'unwind'
rpath = false

[profile.windows]
codegen-units = 256
debug = false
[profile.release-windows]
codegen-units = 1024
debug = 'line-directives-only'
debug-assertions = false
incremental = true
inherits = "release"
lto = true
lto = false
opt-level = 1
overflow-checks = false
panic = 'unwind'
Expand Down

0 comments on commit cdb463d

Please sign in to comment.