diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c023faa9b168..5362492b8091 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -337,24 +337,33 @@ jobs: POSTGRES_HOST: postgres POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} - # Temporarily commenting out the Windows flow, the reason is enormously slow running build - # Waiting for new Windows 2025 github runner - # Details: https://github.com/apache/datafusion/issues/13726 - # - # windows: - # name: cargo test (win64) - # runs-on: windows-latest - # steps: - # - uses: actions/checkout@v4 - # with: - # submodules: true - # - name: Setup Rust toolchain - # uses: ./.github/actions/setup-windows-builder - # - name: Run tests (excluding doctests) - # shell: bash - # run: | - # export PATH=$PATH:$HOME/d/protoc/bin - # cargo test --lib --tests --bins --features avro,json,backtrace +# Temporarily commenting out the Windows flow, the reason is enormously slow running build +# Waiting for new Windows 2025 github runner +# Details: https://github.com/apache/datafusion/issues/13726 +# + windows: + name: cargo test (win64) + runs-on: windows-2025 + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-pc-windows-msvc + - name: Configure Fast Compilation Flags + run: | + echo "RUSTFLAGS=-C target-cpu=native -C opt-level=1 -C codegen-units=32 -C debuginfo=line-tables-only -C incremental=false" >> $env:GITHUB_ENV + echo "CARGO_PROFILE_RELEASE_LTO=thin" >> $env:GITHUB_ENV + echo "CARGO_PROFILE_RELEASE_PANIC=abort" >> $env:GITHUB_ENV + - name: Run tests (excluding doctests) + shell: bash + run: | + export PATH=$PATH:$HOME/d/protoc/bin + cargo test --lib --tests --bins --features avro,json,backtrace --release + cd datafusion-cli + cargo test --lib --tests --bins --all-features --release # Commenting out intel mac build as so few users would ever use it # Details: https://github.com/apache/datafusion/issues/13846 diff --git a/Cargo.lock b/Cargo.lock index cd6586180d73..9a04df96e6aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1396,9 +1396,9 @@ dependencies = [ [[package]] name = "cmake" -version = "0.1.53" +version = "0.1.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24a03c8b52922d68a1589ad61032f2c1aa5a8158d2aa0d93c6e9534944bbad6" +checksum = "e7caa3f9de89ddbe2c607f4101924c5abec803763ae9534e4f4d7d8f84aa81f0" dependencies = [ "cc", ] @@ -5633,9 +5633,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stacker" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b" +checksum = "1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e" dependencies = [ "cc", "cfg-if", @@ -5767,9 +5767,9 @@ dependencies = [ [[package]] name = "substrait" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef201e3234acdb66865840012c0b9c3d04269b74416fb6285cd480b01718c2f9" +checksum = "9a71f43d785f205cd4a685f6cb245a0f0a5be20fbaee956a172e80574f5e8eda" dependencies = [ "heck 0.5.0", "pbjson", @@ -6191,9 +6191,9 @@ checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" [[package]] name = "toml_edit" -version = "0.22.23" +version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02a8b472d1a3d7c18e2d61a489aee3453fd9031c33e4f55bd533f4a7adca1bee" +checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ "indexmap 2.7.1", "toml_datetime", @@ -7002,9 +7002,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86e376c75f4f43f44db463cf729e0d3acbf954d13e22c51e26e4c264b4ab545f" +checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603" dependencies = [ "memchr", ]