On July 11, 2018 8:31:30 PM GMT+02:00, Camille <camille.moulin@free.fr> wrote:<br>
>Hi all,<br>
><br>
>As discussed during the Paris sprint and more recently in a Kdenlive <br>
>café with Nicolas, I'd like to help setting up a relevant CI for<br>
>Kdenlive.<br>
<br>
Hello Camille,<br>
<br>
Thanks for following on this topic! That's something we always wanted but never had time to take care of.<br>
<br>
>There is already a general KDE CI that builds  the code for various <br>
>platforms [1], but I have yet to understand how it works, mostly from<br>
>an <br>
>organizational point of view. Nicolas mentioned that the main point of <br>
>Contact is Ben Cooksley, but  I have not contacted him yet. One thing<br>
>to <br>
>be noted, is that this CI could be already useful, for instance, as it <br>
>shows that  requiring MLT 6.10 broke the build. [2]<br>
<br>
The best way to contact the KDE sysadmins is to open a phabricator request for the sysadmins.<br>
<br>
<a href="https://phabricator.kde.org/maniphest/task/edit/form/2/">https://phabricator.kde.org/maniphest/task/edit/form/2/</a><br>
<br>
<br>
>In parallel, I have set up an experimental CI on Gitlab.com, because it<br>
><br>
>seemed to me that it could have a few  advantages, especially in terms <br>
><br>
>of flexibility.<br>
><br>
>What I have done so far is just to mirror the code and write a simple <br>
>.gitlab-ci.yml file on the refactoring_timeline branch: it builds the <br>
>code, runs cppcheck  in the "build" stage then runs "build/runTests <br>
>-platform offscreen" in the test stage.<br>
><br>
>The results of cppcheck are available in the artifacts of the build <br>
>stage [3] and the result of runTests are in the logs of the test stage <br>
>[4]. Please note that the test stage fails not because of the results<br>
>of <br>
>the tests, but because runTests segfaults (purposely, if I recall <br>
>correctly). One detail : it should be easy  to get email notifications <br>
>on the results (I get them as owner of the repo, but  I guess anyone <br>
>could subscribe).<br>
><br>
>So, in short term, I see two (non exclusive) possible actions :<br>
><br>
>- Contact  KDE infrastructure team to have an instance that suits you ;<br>
><br>
>that means : the OS of your choice, the right branch to be tested <br>
>(refactoring_timeline I guess ) and automatically running runTests<br>
><br>
>- Clean/adapt the .gitlab-ci.yml file, add it to the code repo and <br>
>automatically mirror the repo on an official kdenlive acccount on a <br>
>gitlab instance (it doesn't have to be gitlab.com).<br>
><br>
>What do you think about it?<br>
<br>
If you have some time, as Albert mentionned it would be great to contact the kde sysadmins to check if we can have something equivalent whithout too much hassle.<br>
<br>
Let us know,<br>
Thanks<br>
Jean-Baptiste<br>
<br>
<br>
<br>
>Cheers,<br>
><br>
>Camille<br>
><br>
><br>
>[1]<br>
>https://build.kde.org/job/Applications%20kdenlive%20kf5-qt5%20SUSEQt5.9/<br>
><br>
>[2] <br>
>https://build.kde.org/job/Applications%20kdenlive%20kf5-qt5%20SUSEQt5.9/34/<br>
><br>
>[3] <br>
>https://gitlab.com/camillem/kdenlive-mirror/-/jobs/81024447/artifacts/download<br>
><br>
>[4] <a href="https://gitlab.com/camillem/kdenlive-mirror/-/jobs/81024448">https://gitlab.com/camillem/kdenlive-mirror/-/jobs/81024448</a><br>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.