From 16f5ed02e14cef4462d728ab1b44fa6a4e92511f Mon Sep 17 00:00:00 2001 From: samypr100 <3933065+samypr100@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:39:14 -0400 Subject: [PATCH] Revert "Disable `cargo xwin clippy` in trampoline job (#8182)" This reverts commit cc9767ca1eada91b8386db486cabc0e9ec4230fc. --- .github/workflows/ci.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde063955..0dce1c6f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -359,17 +359,16 @@ jobs: with: tool: cargo-xwin,cargo-bloat - # xwin is currently broken. See https://github.com/rust-cross/cargo-xwin/issues/127 - # - name: "Install xwin dependencies" - # run: sudo apt-get install --no-install-recommends -y lld llvm clang cmake ninja-build - # - # - name: "Clippy" - # working-directory: ${{ github.workspace }}/crates/uv-trampoline - # if: matrix.target-arch == 'x86_64' - # run: cargo xwin clippy --all-features --locked --target x86_64-pc-windows-msvc --tests -- -D warnings - # env: - # XWIN_ARCH: "x86_64" - # XWIN_CACHE_DIR: "${{ github.workspace }}/.xwin" + - name: "Install xwin dependencies" + run: sudo apt-get install --no-install-recommends -y lld llvm clang cmake ninja-build + + - name: "Clippy" + working-directory: ${{ github.workspace }}/crates/uv-trampoline + if: matrix.target-arch == 'x86_64' + run: cargo xwin clippy --all-features --locked --target x86_64-pc-windows-msvc --tests -- -D warnings + env: + XWIN_ARCH: "x86_64" + XWIN_CACHE_DIR: "${{ github.workspace }}/.xwin" - name: "Bloat Check" working-directory: ${{ github.workspace }}/crates/uv-trampoline