Skip to content

Commit

Permalink
add clippy tier2 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oligamiq committed Dec 15, 2023
1 parent b3681ec commit 4c9ef3e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
cargo test --all --release --target $v -- --nocapture
}
build_target_tier2:
build_and_clippy_target_tier2:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -217,13 +217,17 @@ jobs:
rustup target add ${v}
cargo build --target ${v}
cargo build --target ${v} --release
cargo clippy --target ${v} --all-targets --all-features -- -D warnings
cargo clippy --target ${v} --all-targets --all-features --release -- -D warnings
done
- name: build linux loongarch64
if: matrix.os == 'ubuntu-latest' && matrix.version != '1.68.0'
run: |
rustup target add loongarch64-unknown-linux-gnu
cargo build --target loongarch64-unknown-linux-gnu
cargo build --target loongarch64-unknown-linux-gnu --release
cargo clippy --target loongarch64-unknown-linux-gnu --all-targets --all-features -- -D warnings
cargo clippy --target loongarch64-unknown-linux-gnu --all-targets --all-features --release -- -D warnings
- name: build macos
if: matrix.os == 'macos-latest'
run: |
Expand All @@ -232,6 +236,8 @@ jobs:
rustup target add ${v}
cargo build --target ${v}
cargo build --target ${v} --release
cargo clippy --target ${v} --all-targets --all-features -- -D warnings
cargo clippy --target ${v} --all-targets --all-features --release -- -D warnings
done
- name: build windows
if: matrix.os == 'windows-latest'
Expand All @@ -241,6 +247,8 @@ jobs:
rustup target add $v
cargo build --target ${v}
cargo build --target ${v} --release
cargo clippy --target ${v} --all-targets --all-features -- -D warnings
cargo clippy --target ${v} --all-targets --all-features --release -- -D warnings
}
build_cache_android:
Expand Down

0 comments on commit 4c9ef3e

Please sign in to comment.