Template
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c45bc81bf8 | ||
|
|
123c9a1da8 |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: dtolnay/rust-toolchain@1.90.0
|
uses: dtolnay/rust-toolchain@1.90.0
|
||||||
with:
|
with:
|
||||||
targets: x86-64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl
|
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 sort
|
- name: Install cargo sort
|
||||||
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
|
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
|
||||||
@@ -53,8 +53,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Clippy for Linux x86 (GNU and MUSL)
|
- name: Clippy for Linux x86 (GNU and MUSL)
|
||||||
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
|
cargo clippy --target x86_64-unknown-linux-musl -- -D warnings
|
||||||
|
|
||||||
- name: Clippy for Linux aarch64 (GNU and MUSL)
|
- name: Clippy for Linux aarch64 (GNU and MUSL)
|
||||||
run: |
|
run: |
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
cargo clippy --target aarch-64-unknown-linux-musl -- -D warnings
|
cargo clippy --target aarch-64-unknown-linux-musl -- -D warnings
|
||||||
|
|
||||||
- name: Clippy for x86 Windows
|
- name: Clippy for x86 Windows
|
||||||
run: cargo clippy --target x86-64-pc-windows-gnu -- -D warnings
|
run: cargo clippy --target x86_64-pc-windows-gnu -- -D warnings
|
||||||
|
|
||||||
- name: Clippy for MacOS aarch64
|
- name: Clippy for MacOS aarch64
|
||||||
run: cargo clippy --target aarch64-apple-darwin -- -D warnings
|
run: cargo clippy --target aarch64-apple-darwin -- -D warnings
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
requires: lint
|
needs: lint
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Project
|
- name: Checkout Project
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: dtolnay/rust-toolchain@1.90.0
|
uses: dtolnay/rust-toolchain@1.90.0
|
||||||
with:
|
with:
|
||||||
targets: x86-64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl
|
targets: x86_64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl
|
||||||
|
|
||||||
- name: Cache cargo dependencies
|
- name: Cache cargo dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -96,8 +96,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build for Linux x86 (GNU and MUSL)
|
- name: Build for Linux x86 (GNU and MUSL)
|
||||||
run: |
|
run: |
|
||||||
cargo build --target x86-64-unknown-linux-gnu --locked
|
cargo build --target x86_64-unknown-linux-gnu --locked
|
||||||
cargo build --target x86-64-unknown-linux-musl --locked
|
cargo build --target x86_64-unknown-linux-musl --locked
|
||||||
|
|
||||||
- name: Build for Linux aarch64 (GNU and MUSL)
|
- name: Build for Linux aarch64 (GNU and MUSL)
|
||||||
run: |
|
run: |
|
||||||
@@ -105,7 +105,7 @@ jobs:
|
|||||||
cargo build --target aarch-64-unknown-linux-musl --locked
|
cargo build --target aarch-64-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
|
||||||
|
|
||||||
- name: Build for MacOS aarch64
|
- name: Build for MacOS aarch64
|
||||||
run: cargo build --target aarch64-apple-darwin --locked
|
run: cargo build --target aarch64-apple-darwin --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user