Enable clippy for libm in CI
This commit is contained in:
parent
c2402e4d3c
commit
659cdcad33
2 changed files with 9 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ jobs:
|
|||
[ -n "${{ matrix.channel }}" ] && channel="${{ matrix.channel }}"
|
||||
rustup update "$channel" --no-self-update
|
||||
rustup default "$channel"
|
||||
rustup target add ${{ matrix.target }}
|
||||
rustup component add llvm-tools-preview
|
||||
rustup target add "${{ matrix.target }}"
|
||||
rustup component add clippy llvm-tools-preview
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.target }}
|
||||
|
|
@ -105,6 +105,12 @@ jobs:
|
|||
rustup target add x86_64-unknown-linux-musl
|
||||
cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
|
||||
|
||||
- name: Clippy
|
||||
run: |
|
||||
# Run clippy on `libm`
|
||||
cargo clippy --target "${{ matrix.target }}" --package libm
|
||||
|
||||
|
||||
builtins:
|
||||
name: Check use with compiler-builtins
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -88,3 +88,4 @@ else
|
|||
$cmd --benches
|
||||
$cmd --benches --release
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue