Buildbot failure in Wildebeest Builder on whole buildset
Mark Wielaard
mark@klomp.org
Sat Jan 29 20:20:45 GMT 2022
Hi,
On Tue, Jan 25, 2022 at 11:42:41PM +0100, Mark Wielaard wrote:
> I added a filesIsImportant filter to the buildbot gccrs scheduler:
>
> gccrs_files = ["gcc/rust/", "gcc/testsuite/rust/", "gcc/config/.*/*-rust.c"]
>
> def gccrsImportant(change):
> for file in change.files:
> for pattern in gccrs_files:
> match = re.match(pattern, file)
> if match:
> return True
> return False
>
> I think that should make sure that in the future any commits that
> aren't part of the gccrs frontend won't trigger a build.
This seems to work as expected and has the additional benefit of
skipping those "merge" commits by bors since those don't actually
change any files.
Under https://builder.wildebeest.org/buildbot/#/changes you can see
the "builds" for each change (some will now be empty if they didn't
touch any gccrs files).
Cheers,
Mark
More information about the Gcc-rust
mailing list