OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 2:07 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Travis CI Issue
PostPosted: Thu May 21, 2020 2:09 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
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.

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: Travis CI Issue
PostPosted: Thu May 21, 2020 4:09 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
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

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Travis CI Issue
PostPosted: Thu May 21, 2020 5:11 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
Ok that solves it! Thank you!

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 120 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group