Continuous integration #533

Open
spacekitteh opened this Issue Dec 17, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@spacekitteh

spacekitteh commented Dec 17, 2016

Since Android (and therefore CopperheadOS) is such a huge project, continuous integration (with static and dynamic analysis, eventually) should be added. This is a pretty big task, but ultimately, one that will pay off.

CI solutions

  • Hydra
    • Based on Nix, so it takes every build input into account (e.g. version of gcc you're compiling with, version of a particular library, etc) automatically.
    • Very easy to break up a huge build into individual components with individual options and individual tests and have everything "just work"
    • Requires writing a Nix expression to evaluate, which is more difficult initially but pays off huge
  • Travis CI
    • Hard to jury-rig into doing dependent builds
    • 50 minute job timeout (arbitrary multiple jobs per build, though)
  • Linaro Developer Cloud seems to be a new hardware test cloud for ARMv8 stuff
  • Jekins probably has the best support overall for AOSP right now.

Analysis tools

Related work

@kewde

This comment has been minimized.

Show comment Hide comment
@kewde

kewde Dec 20, 2016

I would like to propose looking into coverity, it has been very very helpful and gives the most detailed analysis I've ever seen in a tool.

HTC has used this tool before and found quite the amount of high-level defects.

Coverity sample on Android kernel

kewde commented Dec 20, 2016

I would like to propose looking into coverity, it has been very very helpful and gives the most detailed analysis I've ever seen in a tool.

HTC has used this tool before and found quite the amount of high-level defects.

Coverity sample on Android kernel

@Rudd-O

This comment has been minimized.

Show comment Hide comment
@Rudd-O

Rudd-O Aug 23, 2017

Not what you want, but I hope it's useful: https://github.com/Rudd-O/copperheados-build

Rudd-O commented Aug 23, 2017

Not what you want, but I hope it's useful: https://github.com/Rudd-O/copperheados-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment