Maintaining
These pages are for whoever keeps the framework working after it is written: the person who bumps a dependency, rebuilds the build image, answers a store's new requirement, or comes back to the repository after a year away and needs it to build again. Contributing says how to make a change; Maintaining says what changes on its own, where every version is held, and what to do about each one.
The framework is built to need little: every dependency it compiles is a copy in the repository, every tool CI uses is pinned to a version and a checksum, and a check fails when two places that hold the same version disagree. Pinning stops the world from breaking a build. It does not stop the world from moving, and the pages here are about the places where it moves anyway.
The pages#
- How it all fits
- The framework as a system: the repositories, the command, the generator, the build systems, the toolchain of each family of targets, the workflows and the image, and what each one reads from the others.
- Every dependency
- Each library, tool, SDK and service the framework depends on, where its version is held, what checks it, and a map, read from the tree, of every file that names it.
- The build image
- What is in
ghcr.io/omardev29/raylib-buildand the Alpine run image, how they are built, verified and published, and every step of a bump, in order. - Python
- What Python the framework needs and why, the parts that are standard library only and the parts that are not, and how the image's hash-locked test tools are updated.
- Upgrading a dependency
- A playbook per dependency: where its version is, what else has to move with it, the patches to carry over, the gates that will go red, and what is re-recorded afterwards.
- The dialogue and the text
- The Yarn Spinner port and the test cases that hold it to the original, how a new Yarn release is taken in, the translation tables and their tools, and how a language is added.
- The yearly round
- What forces a change even when nobody touches the code: the stores' requirements, the runner images GitHub retires, the BSD releases, the scheduled workflows that stop by themselves.
- Ten years and more
- What rots first and what lasts, what to archive so a desktop build still works with no network and no GitHub, and how to run the framework with one person and little time.
In short#
| What | Moves on its own? | What it costs |
|---|---|---|
| The C and C++ code, raylib and the vendored libraries | No: they are copies in the repository | Nothing until you choose to upgrade one. A new compiler can bring new warnings. |
| The Linux, web and Android toolchain | No: one image, named by its digest | A rebuild when you want a newer tool; the image itself stays usable as long as a copy of it exists. |
| The Windows and macOS runners, Xcode | Yes: GitHub retires runner images and the Xcode versions on them | A pin bump when a pin disappears, every year or two. |
| Android: SDK, NDK, AGP, Gradle | Yes: Google Play raises the target API every year | A bump of the whole set, and an image rebuilt for it, once a year to keep publishing. |
| iOS: Xcode, the raylib-iOS fork, ANGLE | Yes: the App Store requires a recent Xcode | A new Xcode, and the fork made to build with it, once a year to keep publishing. |
| The BSDs | Yes: their package mirrors are rolling and old releases lose them | A version bump when a release ages out; best effort. |
| Python | Slowly: the generator and rmp use the standard library
only | Little. The test tools in the image are a lock regenerated with the image. |
| GitHub Actions | Yes: actions are pinned by commit, but runtimes are deprecated | Dependabot's monthly pull requests, read and merged. |
The order in which the cost arrives is the order of the list: the desktop builds keep working for years with no change at all; the stores ask for a change every year whether the game changed or not. The yearly round puts dates on it.
Where every version lives#
One
file holds the list: the versions block of thirdparty/FROZEN_VERSIONS.md.
It is not documentation that can drift: tools/versions_check.sh parses it and compares
every value with the file that really controls it — the Gradle files, the Gradle wrapper, every
workflow that names the image — and, inside the build image, with the manifest the image carries.
rmp test config runs it. A bump starts there, and the check names every other place
that has to follow.
The table below is that block, read from the framework at the commit this site documents:
| Key | Pinned to |
|---|---|
build_image_digest | sha256:6fb4255df4a97317… |
run_alpine_digest | sha256:5823e1e4fa870083… |
build_riscv64_digest | sha256:c3946112f78f4ac5… |
android_platform | android-36 |
android_build_tools | 36.0.0 |
android_ndk | 28.2.13676358 |
android_sdk_cmake | 3.31.6 |
android_compile_sdk | 36 |
android_target_sdk | 36 |
android_min_sdk | 24 |
agp | 8.13.2 |
gradle | 8.14.5 |
gradle_sha256 | 6f74b601422d6d6f… |
play_services_ads | 24.9.0 |
llvm | 18.1.3 |
cppcheck | 2.13.0 |
mull | 0.34.1 |
hypothesis | 6.168.5 |
mutmut | 3.8.0 |
pytest | 9.1.1 |
tcc_commit | e23dabed154a8495f3ac1ff3cc9d04fa1c207893 |
tcc | 0.9.28rc |
mingw_gcc | 13-posix |
lld | 18.1.3 |
xwin | 0.10.0 |
wine | 9.0 |
macos_runner | macos-26 |
xcode | 26.6 |
ninja_mac | 1.13.2 |
ninja_mac_sha256 | c99048673aa76596… |
xcodegen | 2.46.0 |
xcodegen_sha256 | 4d9e34b62172d645… |
windows_runner | windows-2025 |
mesa | 26.1.6 |
mesa_sha256 | 86b506ad38b8dae9… |
pillow | 12.3.0 |
pillow_sha256_cp311_win_amd64 | 8e95e1385e4998ae… |
pillow_sha256_cp312_win_amd64 | a2b55dd6b2a4c4b7… |
pillow_sha256_cp313_win_amd64 | 1cca606cd25738df… |
pillow_sha256_cp314_win_amd64 | fdafc9cce40277e0… |
upx | 5.2.0 |
upx_sha256_amd64 | 3db5d3294707439d… |
upx_sha256_arm64 | 55d48a61e8ffd171… |
upx_sha256_win64 | b471ebf1b7f20f4a… |
zig | 0.16.0 |
zig_sha256_x86_64 | 70e49664a74374b4… |
zig_sha256_aarch64 | ea4b09bfb22ec6f6… |
clang_format | 22.1.8 |
clang_tidy | 22.1.8 |
apt_snapshot | 20260801T000000Z |
ubuntu | 24.04 |
cmake | 3.30.3 |
ninja_linux | 1.12.1 |
emscripten | 3.1.61 |
actionlint | 1.7.12 |
butler | 15.24.0 |
freebsd | 15.1 |
openbsd | 7.9 |
netbsd | 10.1 |
sha256_cute_aseprite | 1c2c71f68151b854… |
sha256_doctest | a58efc9446d70ddd… |
sha256_rapidcheck | 517d44bb22a3719d… |
sha256_rres | 913d59b01a7617aa… |
sha256_cjson | 5dbda89922a5a397… |
What the block does not hold is in the table under it in the same file: raylib, Clay, raylib-cpp,
doctest and raymob are pinned by being committed, the raylib-iOS fork by its submodule commit,
Playwright by package-lock.json, and every GitHub Action by the full commit it resolves
to. Every dependency goes through all of
them.
Before a maintenance session#
- Read Setting up if the machine is new: Python 3.11 or newer, CMake, Ninja, the pinned clang tools, and Docker or podman for the image.
- Run
rmp teston an untouchedmainfirst. A red before you change anything is the world having moved, and the stage that is red says where. - Look at the last canary run and its upstream report: it says what is newer than every pin, and what breaks with it (the canary).
- Open issues labelled
nightly-findingcome first, as in any other session. - One dependency per pull request. A bump that moves two things at once cannot be bisected when the matrix goes red twenty minutes later.