Disable cargo xwin clippy in trampoline job (#8182)

See https://github.com/rust-cross/cargo-xwin/issues/127
This commit is contained in:
Zanie Blue 2024-10-14 13:29:57 -05:00 committed by GitHub
parent 05446cd736
commit cc9767ca1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -353,16 +353,17 @@ jobs:
with:
tool: cargo-xwin,cargo-bloat
- 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"
# 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: "Bloat Check"
working-directory: ${{ github.workspace }}/crates/uv-trampoline