mirror of
https://github.com/st3fan/ewm.git
synced 2026-10-25 02:02:15 +00:00
* Phase 9: remove the C tree, promote the Rust workspace to the root Pure git mv / git rm plus the mechanical path fixes: - Delete src/*.c, src/*.h, src/Makefile, src/CMakeLists.txt, the Lua scripts, .travis.yml, and scripts/gen-golden-trace.* (the golden trace regeneration needed the C tree; the checked-in golden file is now frozen — regenerating requires the C from git history). - git mv src/rom -> rom and rust/* -> the repo root. - Fix include_bytes! and test paths for the new layout (src/rom -> rom, one directory level less). No other code changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Phase 9: CI drops the C job; ignore /target Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Phase 9: rewrite README for the Rust build; REWRITE.md complete Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Phase 9: rustfmt after the path shortening Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
25 lines
496 B
YAML
25 lines
496 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
rust:
|
|
name: Rust checks
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install SDL2
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libsdl2-dev
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Format
|
|
run: cargo fmt --check
|
|
- name: Clippy
|
|
run: cargo clippy --all-targets -- -D warnings
|
|
- name: Test
|
|
run: cargo test
|