Skip to content

Commit

Permalink
Disable cargo xwin clippy in trampoline job (astral-sh#8182)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Oct 14, 2024
1 parent 05446cd commit cc9767c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc9767c

Please sign in to comment.