TorstenRobitzki / bluetoe

C++ Framework to build Bluetooth LE Server (GATT)
MIT License
142 stars 29 forks source link

change CI #37

Open TorstenRobitzki opened 6 years ago

TorstenRobitzki commented 6 years ago

Travis CI seems to have a fixed maximum runtime of 10 minutes. Running make with -j results in build failures during the compilation of the tests (out of memory).

A new CI should:

If we host a CI server on our own, we could add additional hardware to do integration tests with different hardware bindings (but maybe this shouldn't be scope of this issue).

TorstenRobitzki commented 6 years ago

Assumed, we would set up a Jenkins server on our own: We could run HIL tests (based on the Scheduled Radio Interface) for nrf51 and nrf52.

TorstenRobitzki commented 6 years ago

@obruns Do you have something to contribute?

obruns commented 6 years ago

See https://gitlab.com/obruns/bluetoe/merge_requests/1 for starters. This is four months old and not rebased on top of master as of this writing.

Also have a look at the pipeline [1] and its jobs (e.g. [2]).

[1] https://gitlab.com/obruns/bluetoe/pipelines/24630627/builds [2] https://gitlab.com/obruns/bluetoe/-/jobs/77631874

TorstenRobitzki commented 6 years ago

I can't merge the pullrequest on Gitlab (most likely, because the repo is hosted on Github). But if I got it right, it's just this two files (.gitlab-ci.yml and Dockerfile). I will just "merge" them by hand into master here...

TorstenRobitzki commented 6 years ago

I just realized that the pull request was on your branch. I guess to fully use Gitlab as CI, we would have to move this project to Gitlab.

obruns commented 6 years ago

Mmh, sure about the move to Gitlab. That's what I implied when we talked on Friday.

My reply from earlier today was just to give you a glimpse of what I tried to do with Gitlab CI so far.

TorstenRobitzki commented 6 years ago

I would like to go with the following approach:

TorstenRobitzki commented 6 years ago

Here are some numbers from the Gitlab builds: https://gitlab.com/TorstenRobitzki/bluetoe/pipelines/37166668/builds