Template
fixes: Removed Linting of multiple targets.
Fixes improper target for build of aarch-64 to aarch64
This commit is contained in:
@@ -16,8 +16,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: dtolnay/rust-toolchain@1.90.0
|
uses: dtolnay/rust-toolchain@1.90.0
|
||||||
with:
|
|
||||||
targets: x86_64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl
|
|
||||||
|
|
||||||
- name: Install cargo fmt
|
- name: Install cargo fmt
|
||||||
run: rustup component add rustfmt
|
run: rustup component add rustfmt
|
||||||
@@ -57,22 +55,9 @@ jobs:
|
|||||||
- name: Check for unused dependencies
|
- name: Check for unused dependencies
|
||||||
run: cargo machete
|
run: cargo machete
|
||||||
|
|
||||||
- name: Clippy for Linux x86 (GNU and MUSL)
|
- name: Clippy for Linux x86 (GNU ONLY)
|
||||||
run: |
|
run: |
|
||||||
cargo clippy --target x86_64-unknown-linux-gnu -- -D warnings
|
cargo clippy --target x86_64-unknown-linux-gnu -- -D warnings
|
||||||
cargo clippy --target x86_64-unknown-linux-musl -- -D warnings
|
|
||||||
|
|
||||||
- name: Clippy for Linux aarch64 (GNU and MUSL)
|
|
||||||
run: |
|
|
||||||
cargo clippy --target aarch-64-unknown-linux-gnu -- -D warnings
|
|
||||||
cargo clippy --target aarch-64-unknown-linux-musl -- -D warnings
|
|
||||||
|
|
||||||
- name: Clippy for x86 Windows
|
|
||||||
run: cargo clippy --target x86_64-pc-windows-gnu -- -D warnings
|
|
||||||
|
|
||||||
- name: Clippy for MacOS aarch64
|
|
||||||
run: cargo clippy --target aarch64-apple-darwin -- -D warnings
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -107,8 +92,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build for Linux aarch64 (GNU and MUSL)
|
- name: Build for Linux aarch64 (GNU and MUSL)
|
||||||
run: |
|
run: |
|
||||||
cargo build --target aarch-64-unknown-linux-gnu --locked
|
cargo build --target aarch64-unknown-linux-gnu --locked
|
||||||
cargo build --target aarch-64-unknown-linux-musl --locked
|
cargo build --target aarch64-unknown-linux-musl --locked
|
||||||
|
|
||||||
- name: Build for x86 Windows
|
- name: Build for x86 Windows
|
||||||
run: cargo build --target x86_64-pc-windows-gnu --locked
|
run: cargo build --target x86_64-pc-windows-gnu --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user