From 14feca89173f1bafa913b1cb8e838d2e1fd3e5cd Mon Sep 17 00:00:00 2001 From: comphead Date: Fri, 13 Dec 2024 15:13:27 -0800 Subject: [PATCH] CI: Windows compilation time --- .github/actions/setup-windows-builder/action.yaml | 3 +-- .github/workflows/rust.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-windows-builder/action.yaml b/.github/actions/setup-windows-builder/action.yaml index ce89b607580a..5e937358c7d7 100644 --- a/.github/actions/setup-windows-builder/action.yaml +++ b/.github/actions/setup-windows-builder/action.yaml @@ -40,8 +40,7 @@ runs: run: | # Avoid self update to avoid CI failures: https://github.com/apache/datafusion/issues/9653 rustup toolchain install stable --no-self-update + rustup default stable rustup component add rustfmt - rustup component add llvm-tools-preview - rustup target add x86_64-pc-windows-msvc - name: Configure rust runtime env uses: ./.github/actions/setup-rust-runtime diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e1db23db93c1..7683a797480e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,7 +57,7 @@ jobs: lld-link --version echo $RUSTFLAGS rustup show - cargo test --lib --tests --bins --features avro,json,backtrace --profile=release-windows --target x86_64-pc-windows-msvc + cargo test --lib --tests --bins --features avro,json,backtrace --profile=release-windows cd datafusion-cli - cargo test --lib --tests --bins --all-features --profile=release-windows --target x86_64-pc-windows-msvc + cargo test --lib --tests --bins --all-features --profile=release-windows