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

Rob Landley rob at landley.net
Wed Jun 24 19:27:13 PDT 2020


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
> 



More information about the Toybox mailing list