Add github action support to build with MacOS and Ubuntu * Builds at 02:00 each day * Builds on each push
This commit is contained in:
parent
d313e8d271
commit
9e02426347
36
.github/workflows/toybox.yml
vendored
Normal file
36
.github/workflows/toybox.yml
vendored
Normal file
@ -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@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@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
|
Loading…
Reference in New Issue
Block a user