[Toybox] [PATCH] Add github action support to build with MacOS and Ubuntu * Builds at 02:00 each day * Builds on each push

Eric Molitor emolitor at molitor.org
Thu Jun 25 05:47:30 PDT 2020


* MacOS and Ubuntu builds run on every push *and* at 02:00 UTC (2:00 am
UTC).
* Emails are only sent on build or test failure to the project
collaborators. This is configurable but the simplest option is to add
Elliott as a collaborator.
* Build logs can be downloaded but build artifacts beyond this are not
currently configured. This would be trivial to add if desired.
* Complete documentation can be found at https://help.github.com/en/actions

I've only added MacOS and Ubuntu 20.04 to the initial version as these are
building and running without issue currently. I will add the Ubuntu Clang
ASAN build as soon as I can debug the test timeout that was noted in the
other thread. This change is already controversial and I suspect committing
a noisy automatic build with an existing failure will quickly lead to
"tissue rejection" hence my reluctance to add Clang ASAN currently.

 - Eric

On Thu, Jun 25, 2020 at 3:19 AM Rob Landley <rob at landley.net> wrote:

> On each push, or at 2:00? (Am or PM in which time zone?)
>
> What's the build result? (Do I get emails? Does Elliott get emails? Do we
> have
> to look at a page? Can build artifacts be downloaded? Is there a HOWTO
> page on
> this?)
>
> Rob
>
> On 6/24/20 8:00 AM, Eric Molitor wrote:
> > ---
> >  .github/workflows/toybox.yml | 36 ++++++++++++++++++++++++++++++++++++
> >  1 file changed, 36 insertions(+)
> >  create mode 100644 .github/workflows/toybox.yml
> >
> > diff --git a/.github/workflows/toybox.yml b/.github/workflows/toybox.yml
> > new file mode 100644
> > index 00000000..b3b16676
> > --- /dev/null
> > +++ b/.github/workflows/toybox.yml
> > @@ -0,0 +1,36 @@
> > +name: toybox CI
> > +
> > +on:
> > +  schedule:
> > +    - cron:  '0 2 * * *'
> > +  push:
> > +    branches: [ master ]
> > +
> > +jobs:
> > +  MacOS-10_15:
> > +    runs-on: macos-10.15
> > +
> > +    steps:
> > +    - uses: actions/checkout at v2
> > +    - name: Setup
> > +      run: brew install gnu-sed
> > +    - name: Configure
> > +      run: make macos_defconfig
> > +    - name: Build
> > +      run: make
> > +    - name: Test
> > +      run: VERBOSE=1 make tests
> > +
> > +  Ubuntu-20_04:
> > +    runs-on: ubuntu-20.04
> > +
> > +    steps:
> > +    - uses: actions/checkout at v2
> > +    - name: Setup
> > +      run: sudo apt-get install build-essential
> > +    - name: Configure
> > +      run: make defconfig
> > +    - name: Build
> > +      run: make
> > +    - name: Test
> > +      run: VERBOSE=1 make tests
> >
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200625/0b9f42ca/attachment-0001.htm>


More information about the Toybox mailing list