Author SHA1 Message Date
melfely 7fbc05d521 fixes: readded x86-64 musl linux target
Crossplatform Linting && Build / Build (push) Failing after 1m30s
Crossplatform Linting && Build / Linting (push) Successful in 1m28s
2026-09-08 17:49:26 -05:00
melfely d2f008ad5f fixes: Removes Windows and Mac Builds. Replaces build with cross for non-native builds
Apparently Cross Compiling to MacOS is basically impossible.

Crossing Compiling to Windows is painful but doable, not setting it up here ngl
2026-09-08 17:46:39 -05:00
melfely 8de78b6e1a fixes: Cargo.Lock file update to date
Crossplatform Linting && Build / Linting (push) Successful in 1m30s
Crossplatform Linting && Build / Build (push) Failing after 1m18s
2026-09-08 17:25:23 -05:00
melfely 2846cdbcc5 fixes: Removed Linting of multiple targets.
Crossplatform Linting && Build / Linting (push) Successful in 1m22s
Crossplatform Linting && Build / Build (push) Failing after 1m13s
Fixes improper target for build of aarch-64 to aarch64
2026-09-08 17:16:38 -05:00
melfely 16d0a21b8c fixes: Installs Missing Cargo Clippy for Linting
Crossplatform Linting && Build / Linting (push) Failing after 1m40s
Crossplatform Linting && Build / Build (push) Skipped
2026-09-08 17:12:12 -05:00
melfely 864ff9f044 fixes: Installes Required rustfmt
Crossplatform Linting && Build / Linting (push) Failing after 1m45s
Crossplatform Linting && Build / Build (push) Skipped
2026-09-08 17:08:01 -05:00
melfely c45bc81bf8 fixes: Fixed x86-64 to the correct x86_64 for --target
Crossplatform Linting && Build / Linting (push) Failing after 2m39s
Crossplatform Linting && Build / Build (push) Skipped
2026-09-08 17:03:23 -05:00
melfely 123c9a1da8 fixes: Fixed the build job not requiring the lint job to complete first 2026-09-08 17:01:30 -05:00
melfely f2c0af5775 feat: Added base level rust project.
Crossplatform Linting && Build / Build (push) Failing after 56s
Crossplatform Linting && Build / Linting (push) Failing after 1m0s
2026-09-08 16:59:26 -05:00
melfely b408028c87 fix: fixed a issue with the syntax of the lint.yml file
Reworked the multiple line linux builds and lints(since they build both musl and gnu)
2026-09-08 16:46:32 -05:00
melfely 5a4191bb60 feat: Added lint.yml which tests for linting and build on multiple platforms 2026-09-08 16:43:50 -05:00
4 changed files with 118 additions and 0 deletions
+102
View File
@@ -0,0 +1,102 @@
name: Crossplatform Linting && Build
on:
push:
branches: [ main, master ]
pull_request:
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.90.0
- name: Install cargo fmt
run: rustup component add rustfmt
- name: Install cargo clippy
run: rustup component add clippy
- name: Install cargo sort
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
with:
tool: cargo-sort@1.0.9
- name: Install cargo machete
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
with:
tool: cargo-machete@0.7.0
- name: Cache cargo dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-lint-
- name: Check formatting
run: cargo fmt --check
- name: Check import sorting
run: cargo sort --grouped --check --check-format
- name: Check for unused dependencies
run: cargo machete
- name: Clippy for Linux x86 (GNU ONLY)
run: |
cargo clippy --target x86_64-unknown-linux-gnu -- -D warnings
build:
name: Build
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout Project
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.90.0
with:
targets: x86_64-unknown-linux-musl
- name: Install Cross
run: cargo install cross --locked
- name: Cache cargo dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-lint-
- name: Build for Linux x86 (GNU and MUSL)
run: |
cargo build --target --release x86_64-unknown-linux-gnu --locked
cargo build --target --release x86_64-unknown-linux-musl --locked
- name: Build for Linux aarch64 (GNU and MUSL)
run: |
cargo cross --target --release aarch64-unknown-linux-gnu --locked
cargo cross --target --release aarch64-unknown-linux-musl --locked
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "temp"
version = "0.1.0"
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "temp"
version = "0.1.0"
edition = "2024"
[dependencies]
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}