feat: Added Linux Tests, and Cross Builds via Cargo Cross
Crossplatform Linting && Build / Linting (push) Successful in 1m33s
Crossplatform Linting && Build / Build (push) Successful in 55s

These "might" work, going to have to work at it. Actions are strange.
This commit is contained in:
2026-09-09 13:50:02 -05:00
parent 78d1a65bef
commit 14e59d2ed2
+35
View File
@@ -60,6 +60,41 @@ jobs:
cargo build --target x86_64-unknown-linux-gnu --release --locked
cargo build --target x86_64-unknown-linux-musl --release --locked
cross_build:
name: Cross-Build
runs-on: ubuntu-latest
needs: [lint, build]
steps:
- name: Checkout Project
uses: actions/checkout@v5
- name: Crosscompile for aarch64 linux, windows, macos
uses: zijiren233/cargo-cross@v1
with:
targets: |
aarch64-unknown-linux-musl
aarch64-unknown-linux-gnu
x86_64-pc-windows-gnu
aarch64-apple-darwin
test:
name: Test
runs-on: ubuntu-latest
needs: [build, lint]
steps:
- name: Checkout Project
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Test for Linux x86 (GNU and MUSL)
run: |
cargo test --target x86_64-unknown-linux-gnu --release --locked
cargo test --target x86_64-unknown-linux-musl --release --locked