Initial rough commit
All checks were successful
Cargo Build & Test / Rust project - latest (1.88) (push) Successful in 3m30s
Cargo Build & Test / Rust project - latest (1.85.1) (push) Successful in 4m1s
Cargo Build & Test / Rust project - latest (1.87) (push) Successful in 4m5s
Cargo Build & Test / Rust project - latest (1.86) (push) Successful in 9m41s

This commit is contained in:
2025-06-22 03:00:41 -04:00
parent 5975323678
commit b9cc62e3dd
21 changed files with 12386 additions and 0 deletions

32
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Cargo Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
rust_ver: # Try to not let this blow up in size, lets keep this to ~4
- 1.88
- 1.87
- 1.86
- 1.85.1
# Very ugly way to force cargo and jazz to be in PATH across run's but
# lets fix this alter.
steps:
- uses: actions/checkout@v4
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: rustup update ${{ matrix.rust_ver }} && rustup default ${{ matrix.rust_ver }}
- run: cargo build
- run: cargo test
- run: cargo build --release
- run: cargo test --release
- run: cargo bench