T07: Cargo workspace scaffold — cb-kernel/cb-events/cb-game-runtime/games-ground/cb-sim, HashMap deny-lint, scenario format + runner stub, Criterion skeleton, Makefile, CI
Some checks failed
ci / check (push) Has been cancelled

This commit is contained in:
tegwick 2026-07-31 01:57:13 +02:00
parent 396990539a
commit 467e2c561d
23 changed files with 1625 additions and 0 deletions

18
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,18 @@
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: docker
container:
image: rust:1.97
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt clippy
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace
- run: cargo run -q -p cb-sim -- scenarios/ground/*.yaml || test $? -eq 2