From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27277 invoked by alias); 15 Sep 2015 14:21:31 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 27221 invoked by uid 89); 15 Sep 2015 14:21:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f176.google.com Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com) (209.85.212.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 15 Sep 2015 14:21:27 +0000 Received: by wiclk2 with SMTP id lk2so31248465wic.0 for ; Tue, 15 Sep 2015 07:21:24 -0700 (PDT) X-Received: by 10.180.102.164 with SMTP id fp4mr7942381wib.2.1442326884492; Tue, 15 Sep 2015 07:21:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.121.10 with HTTP; Tue, 15 Sep 2015 07:21:04 -0700 (PDT) In-Reply-To: <55F61553.6040401@anw.at> References: <20150912200305.69b80a14@free-electrons.com> <55F60487.5030805@anw.at> <55F6081F.8070905@anw.at> <55F61553.6040401@anw.at> From: Jean-Marie Lemetayer Date: Tue, 15 Sep 2015 14:21:00 -0000 Message-ID: Subject: Re: [RFC] Refactor autoconf options and build scripts To: "Jasmin J." Cc: crossgcc Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00039.txt.bz2 Folks, To continue the Jasmin work about Travis-CI, I have copy paste the Jasmin `.travis.yml` on my fork and add a script line to build all samples this way: for SAMPLE in $(./ct-ng list-samples 2>/dev/null | sed -n 's/^\[...\] *\(.*\)$/\1/p'); do ./ct-ng $SAMPLE; ./ct-ng build; done It seems to be working for now: https://travis-ci.org/jmlemetayer/crosstool-ng But going further into the Travis-CI documentation I see that the build timeouts after 50 minutes: http://docs.travis-ci.com/user/customizing-the-build/#Build-Timeouts So it seems not to be the good strategy as building all samples serially will take more than 50 minutes. But we could run parallel builds using matrix build: http://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix The only difference is that we can't run build dynamically (using `list-samples`) and we have to say which samples we want to build for the continuous integration. So, I think it could be a good thing to test / refresh the whole samples and add them into the parallel integration builds when ready. Regards, JML 2015-09-14 2:31 GMT+02:00 Jasmin J. : > Hi! > >> I will give it a try, when I have time this week. > Well, I was too curious to sleep ... ;) > Here the result of the first ct-ng test build: > https://travis-ci.org/jasmin-j/crosstool-ng/builds/80157690 > > Here is the source for travis-ci: > https://github.com/jasmin-j/crosstool-ng/tree/add_travis_ci > >> Maybe someone is so pleasant to tell me which binutils/gcc/libc(newlib)/gdb >> combinations I shall try as a first step. > What shall I try? > > BR > Jasmin > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- For unsubscribe information see http://sourceware.org/lists.html#faq