Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Travis CI Continuous Integration system - for users with Github repos
« previous next »
  • Print
Pages: [1]

Author Topic: Travis CI Continuous Integration system - for users with Github repos  (Read 2099 times)

Offline whiskers75

  • Member
  • *
  • Posts: 100
  • github.com/whiskers75
    • whiskers75
Travis CI Continuous Integration system - for users with Github repos
« on: January 07, 2013, 12:50:29 PM »
I have managed to get (very unstable) Travis working with Rockbox.
(about.travis-ci.org)
If anyone wants my .travis.yml file, they can have it. Get it from whiskers75/rockbox (https://github.com/whiskers75/rockbox/blob/master/.travis.yml).
Currently builds Sansa Clip+ and iPod Mini 1G. (62 and 25)
If anyone can provide 32-bit Ubuntu 12.04 toolchain packages, that would be greatly appreciated and fix all the problems I have with Travis.
Good day,
whiskers75
Logged
whiskers75/rockbox - Custom Build  
http://forums.rockbox.org/index.php/topic,42527.0.html
Devices: Sansa Clip+

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Travis CI Continuous Integration system - for users with Github repos
« Reply #1 on: January 09, 2013, 01:15:21 AM »
rockboxdev.sh is perfectly capable of compiling the toolchains.

However, it assumes that your environment is actually capable of compiling the toolchains (ie. meeting dependencies). For everything except the YP-R0 toolchain, these dependencies are very simply met (and documented).

From a clean install, only these packages should be needed:

Code: [Select]
build-essential libc6-dev libgmp3-dev libmpfr-dev texinfo

There are a few packages that will be used if present, but are not needed (bison, CLooG, flex, ...the list goes on).

My guess is that instead of looking at the error the toolchain compilation failed with (which will always be your clue as to why it failed), you've assumed it is broken and stopped there. It does work, though. If you are unable to work out why compilation is failing for you, posting the error from the output is infinitely more helpful that simple saying "It's buggy" (simplification taken from another post).


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline whiskers75

  • Member
  • *
  • Posts: 100
  • github.com/whiskers75
    • whiskers75
Re: Travis CI Continuous Integration system - for users with Github repos
« Reply #2 on: January 09, 2013, 02:09:05 AM »
Travis has a stupid timeout of 10 minutes per command, so I can't use rockobxdev.sh. Sometimes make takes too long so my build fails - that's why I need some APT packages for 32-bit Ubuntu Server 12.04.
Logged
whiskers75/rockbox - Custom Build  
http://forums.rockbox.org/index.php/topic,42527.0.html
Devices: Sansa Clip+

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Travis CI Continuous Integration system - for users with Github repos
« Reply #3 on: January 09, 2013, 02:22:19 AM »
So....stop using it. From what I've seen it is basically useless anyway. Telling if your code compiles or not, as you've seen, doesn't actually give any indication as to whether or not it is going to work.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: Travis CI Continuous Integration system - for users with Github repos
« Reply #4 on: January 09, 2013, 02:53:56 AM »
You are most probably not aware of this: http://build.rockbox.org/dev.cgi. We are pretty sure that our codebase compiles (mostly) cleanly with advised toolchains. There is little point to check this. If you modify sources you have to compile it anyway to test so why bother with some external tools?
Logged

Offline whiskers75

  • Member
  • *
  • Posts: 100
  • github.com/whiskers75
    • whiskers75
Re: Travis CI Continuous Integration system - for users with Github repos
« Reply #5 on: January 09, 2013, 03:01:55 AM »
I am very much aware of that.
Logged
whiskers75/rockbox - Custom Build  
http://forums.rockbox.org/index.php/topic,42527.0.html
Devices: Sansa Clip+

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Travis CI Continuous Integration system - for users with Github repos
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 15 queries.