From b26ac3dc65b6f88b069895bb2c4f5586764450b4 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Tue, 3 Jan 2023 03:00:54 +0000 Subject: [PATCH] test `x clippy --stage 1` in ci --- src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh index 2eb751ca3766d..78e3fbd7a919d 100755 --- a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh +++ b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh @@ -47,3 +47,7 @@ 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 1 clippy -Awarnings