diff options
| author | Joshua Nelson <github@jyn.dev> | 2023-01-03 03:00:54 +0000 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-12-16 15:24:59 -0500 |
| commit | a078c3aea8d7cb86c8d4f2abee01f955d3d12f49 (patch) | |
| tree | 101a8595c1077fb7a450e82cda3099ed7b8140e9 | |
| parent | 928895478988b8581bdd0697d1c0005617974fb5 (diff) | |
| download | rust-a078c3aea8d7cb86c8d4f2abee01f955d3d12f49.tar.gz rust-a078c3aea8d7cb86c8d4f2abee01f955d3d12f49.zip | |
test `x clippy --stage 0` in ci
| -rw-r--r-- | src/ci/docker/host-x86_64/mingw-check/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check/Dockerfile b/src/ci/docker/host-x86_64/mingw-check/Dockerfile index 82d37f0f633..f8fcda5070f 100644 --- a/src/ci/docker/host-x86_64/mingw-check/Dockerfile +++ b/src/ci/docker/host-x86_64/mingw-check/Dockerfile @@ -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 && \ |
