<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 4:43 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div class="gmail-m_2725485133813392357WordSection1">
<p class="gmail-MsoNormal">Hello list<u></u><u></u></p>
<p class="gmail-MsoNormal"><u></u> <u></u></p>
<p class="gmail-MsoNormal">I have been playing with the python github module that allows you to fetch PR’s and using it to trigger builds on different machines here at CSCS and then display the results back on the dashboard. It works very nicely - but one nice feature
would be the ability to add a column to the dashboard to show a clang-format/inspect type test that runs before doing the builds, so that I can fail a PR if the code style is bad.<u></u><u></u></p>
<p class="gmail-MsoNormal"><u></u> <u></u></p>
<p class="gmail-MsoNormal">This can be made into a test, but we usually run it as a pre-build/test step so that devs can fix that suff immediately instead of waiting N hours for all the other stuff to finish.<u></u><u></u></p>
<p class="gmail-MsoNormal"><u></u> <u></u></p>
<p class="gmail-MsoNormal">Can it be done? (adding a new column)</p></div></div></blockquote><div><br></div><div>Adding arbitrary new columns isn't currently feasible in CDash, but we do use static analysis tools on our codebases and display the results on the dashboard. We typically accomplish this as a build step (rather than a test).</div><div><br></div><div>Here's an example of some warnings from include-what-you-use:</div><div><a href="https://open.cdash.org/viewBuildError.php?type=1&buildid=5036499">https://open.cdash.org/viewBuildError.php?type=1&buildid=5036499</a><br></div><div><br></div><div>And here's an example of scan-build reporting some errors:</div><div><a href="https://open.cdash.org/viewBuildError.php?buildid=5100647">https://open.cdash.org/viewBuildError.php?buildid=5100647</a></div><div><br></div><div>We'd be happy to help you get something like this set up if this looks promising to you.</div></div></div></div>