[bazel][ci] Add CI action to generate pregen patch (#8816)

There were complaints about no patch files being created from CI when
the examples pre-gen fails for people who don't build with bazel. This
adds a new action step to run just the non-robotpy pregen.

I also added an argument to the diff tests to make it a unified diff,
which might make it easier to hand fix.
This commit is contained in:
PJ Reiniger
2026-04-25 14:06:02 -04:00
committed by GitHub
parent 2edef821f9
commit e7e51c9c05
15 changed files with 44 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ generate_wpiutil(
write_source_files(
name = "write_wpiutil",
diff_args = ["-u"],
files = {
"src/generated/test/native/cpp": ":generate_wpiutil",
},