Add a new MuJoCo version
This page describes the typical workflow for adding a new dist/<ver>/ to the repository.
Steps
Pick a target ref (tag or commit hash).
Build it:
python3 forge_cli.py build --version <mjver> --with-checks
Review ABI/export diffs:
dist/<mjver>/abi/exports.lstdist/<mjver>/abi/exports_report_funcs.md
If exports changed, decide whether it’s acceptable and update wrappers/gates as needed.
Commit the new
dist/<mjver>/directory (and any pipeline changes).
Tips
Prefer building tags like
3.5.0unless you need a specific commit.Run
verify-distin CI when committing newdist/<ver>.