[PATCH v2 0/1] Add gitlab-ci to Xenomai

Jan Kiszka jan.kiszka at siemens.com
Fri Sep 4 13:26:12 CEST 2020

On 04.09.20 13:23, Jan Kiszka wrote:
> On 04.09.20 12:37, Jan Kiszka via Xenomai wrote:
>> On 04.09.20 12:32, Q. Gylstorff wrote:
>>> From: Quirin Gylstorff <quirin.gylstorff at siemens.com>
>>> This patch adds a gitlab-ci.yml to support ci builds on gitlab. The
>>> build is derived from .travis.yml.
>>> An executed pipeline can be found at [1].
>>> Changes V2:
>>>  - adapt git remote ls syntax to git version 2.20 from 2.17
>>> I also look into using the same base for .travis-ci.yml and gitlab-ci.yml.
>>> What we can do is moving the script and before_script parts into a
>>> shell script or something similar. The job description syntax is
>>> not compatible (env instead variables, jobs are under the element
>>> jobs/matrix instead of root). IMHO we need some generator to
>>> use the same job description for Travis and gitlab-ci.
>>> [1]: https://gitlab.com/Quirin.Gy/xenomai/-/pipelines/185711450
>> Then go for plan B: Test gitlab-ci for a while, and if it works, drop
>> travis.
>> Is this job also compatible with the free runners on gitlab.com?
> Building is fine,
> https://gitlab.denx.de/Xenomai/xenomai/-/pipelines/4581, but I suppose
> we lost the ccache, right? Can this be restored with gitlab means? Would
> be up to 400MB to save/restore per job, practically more between 200 and
> 250 MB.

Obviously, if caching is slower or more expensive than just building, we
are fine (can just drop ccache from the build then). We now build
everything in 25 min. without caching which is not really bad.


Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

More information about the Xenomai mailing list