diff options
author | Eric Molitor <emolitor@molitor.org> | 2020-06-24 14:00:15 +0100 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-06-27 03:07:15 -0500 |
commit | 9e0242634766e2e3bbedc620ab78d90f29e1e6b0 (patch) | |
tree | 9d5f115ea1712d3dd645f3f7e2b0c33c7aa6a9af | |
parent | d313e8d271aacb56fe9ff6db901a987d739ca98b (diff) | |
download | toybox-9e0242634766e2e3bbedc620ab78d90f29e1e6b0.tar.gz |
Add github action support to build with MacOS and Ubuntu * Builds at 02:00 each day * Builds on each push
-rw-r--r-- | .github/workflows/toybox.yml | 36 |
1 files changed, 36 insertions, 0 deletions
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@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 |