Changing into the build dir is confusing and brittle, because the following commands implicitly assume it. So they could break on unrelated changes.
The changes are required for stuff like:
- cmake presets (see #30871 (comment))
- meta ci tests (like #32874)
So remove the cd
and just make the build dir explicit.