Skip to content

Commit

Permalink
don't test stage1 clippy in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Nov 5, 2023
1 parent 1a0289e commit 1012698
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions src/ci/docker/host-x86_64/mingw-check/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@ COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1

# Run clippy just to make sure it doesn't error out; we don't actually want to gate on the warnings
# though.
# Ideally we'd use stage 1, but that ICEs: https://github.com/rust-lang/rust-clippy/issues/11230

ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu && \
python3 ../x.py clippy --stage 0 -Awarnings
python3 ../x.py build --stage 0 src/tools/build-manifest && \
python3 ../x.py test --stage 0 src/tools/compiletest && \
python3 ../x.py test --stage 0 core alloc std test proc_macro && \
Expand Down
5 changes: 0 additions & 5 deletions src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,3 @@ fi
# This is intended to make sure that both `--pass=check` continues to
# work.
../x.ps1 --stage 2 test tests/ui --pass=check --host='' --target=i686-unknown-linux-gnu

# Run clippy just to make sure it doesn't error out; we don't actually want to gate on the warnings
# though.
../x.py --stage 0 clippy -Awarnings
../x.py --stage 1 clippy -Awarnings

0 comments on commit 1012698

Please sign in to comment.