Page 1 of 1
Travis CI Issue
Posted: Thu May 21, 2020 2:09 pm
by nexos
Hello,
I was wondering how you do automated builds of an Operating system in Travis CI, as I am using an i686-elf cross compiler. How do you install this on Travis CI?
Thank you for your help.
Re: Travis CI Issue
Posted: Thu May 21, 2020 4:09 pm
by klange
I have a Docker image on the Hub with my build tools (which is pretty much just the gcc/binutils cross compiler), and my Travis pipeline uses that to build. It takes Travis ~10s to download the Docker image. This also has the benefit that anyone can grab the Docker image to run builds without having to set up a toolchain themselves.
Travis config:
https://github.com/klange/toaruos/blob/ ... travis.yml
Build example:
https://travis-ci.org/github/klange/toa ... /684597098
Re: Travis CI Issue
Posted: Thu May 21, 2020 5:11 pm
by nexos
Ok that solves it! Thank you!