github: Add workflow to test mynewt builds

This reproduces the CI test build for Mynewt that is currently run by
Travis.

Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
David Brown 2020-06-16 08:29:17 -06:00 committed by Fabio Utzig
parent 2d99cba4f2
commit 5e3b066e0a
1 changed files with 28 additions and 0 deletions

28
.github/workflows/mynewt.yaml vendored Normal file
View File

@ -0,0 +1,28 @@
# For development, trigger this on any push.
on: [push, pull_request]
# Eventually, we'll want to limit this to pull requests.
# on: ???
jobs:
environment:
name: Mynewt build
runs-on: ubuntu-latest
env:
MULTI_FEATURES: ${{ matrix.features }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Print the environment
run: |
uname -a
lscpu
free
pwd
- name: Mynewt install
run: |
./ci/mynewt_install.sh
- name: Mynewt run
run: |
./ci/mynewt_run.sh