Files
MetaCrate/.gitea/workflows/codegen.yml
Chili Palmer 5bc22bdd83
Some checks failed
Native code generation / deterministic (push) Successful in 1m31s
Imaging and meshing gate / native (push) Failing after 17s
JPEG 2000 feature / linux (push) Failing after 1m0s
Skia feature / linux (push) Failing after 1m37s
Run Gitea workflows on Ubuntu only
2026-08-09 07:07:13 +00:00

28 lines
1008 B
YAML

name: Native code generation
on:
push:
pull_request:
jobs:
deterministic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Test diagnostics and byte-identical generation
run: cargo test -p libremetaverse-codegen
- name: Verify vendored hashes and checked-in output
run: cargo run -p libremetaverse-codegen -- check
- name: Regenerate twice without reference checkout access
run: |
cargo run -p libremetaverse-codegen -- generate
cargo run -p libremetaverse-codegen -- generate
git diff --exit-code -- codegen/generated crates/libremetaverse/src/packet_catalog.rs
- name: Lint native generator
run: cargo clippy -p libremetaverse-codegen --all-targets -- -D warnings
- name: Prove normal consumer build does not execute generation
run: cargo build -p libremetaverse --locked