Add ninja, prepare dependencies
Same as in the main job, the clazy/clang-tidy job needs to pull project dependencies from CI.