From e372e25e3083c18a42e442e2f1faee0226d6a5ad Mon Sep 17 00:00:00 2001 From: Yingwen Date: Fri, 17 May 2024 14:01:46 +0800 Subject: [PATCH] build: add RUSTUP_WINDOWS_PATH_ADD_BIN env (#3969) build: add RUSTUP_WINDOWS_PATH_ADD_BIN: 1 --- .github/actions/build-windows-artifacts/action.yml | 3 +++ .github/workflows/nightly-ci.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/actions/build-windows-artifacts/action.yml b/.github/actions/build-windows-artifacts/action.yml index 6b9fb3bde51e..67d41e1d0f9a 100644 --- a/.github/actions/build-windows-artifacts/action.yml +++ b/.github/actions/build-windows-artifacts/action.yml @@ -59,6 +59,9 @@ runs: if: ${{ inputs.disable-run-tests == 'false' }} shell: pwsh run: make test sqlness-test + env: + RUSTUP_WINDOWS_PATH_ADD_BIN: 1 # Workaround for https://github.com/nextest-rs/nextest/issues/1493 + RUST_BACKTRACE: 1 - name: Upload sqlness logs if: ${{ failure() }} # Only upload logs when the integration tests failed. diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index d0eb2aedc72e..601c74c64e4f 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -104,6 +104,7 @@ jobs: CARGO_BUILD_RUSTFLAGS: "-C linker=lld-link" RUST_BACKTRACE: 1 CARGO_INCREMENTAL: 0 + RUSTUP_WINDOWS_PATH_ADD_BIN: 1 # Workaround for https://github.com/nextest-rs/nextest/issues/1493 GT_S3_BUCKET: ${{ vars.AWS_CI_TEST_BUCKET }} GT_S3_ACCESS_KEY_ID: ${{ secrets.AWS_CI_TEST_ACCESS_KEY_ID }} GT_S3_ACCESS_KEY: ${{ secrets.AWS_CI_TEST_SECRET_ACCESS_KEY }}