From 5e3b066e0ae2856dddd266a670df53edb124523a Mon Sep 17 00:00:00 2001 From: David Brown Date: Tue, 16 Jun 2020 08:29:17 -0600 Subject: [PATCH] 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 --- .github/workflows/mynewt.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/mynewt.yaml diff --git a/.github/workflows/mynewt.yaml b/.github/workflows/mynewt.yaml new file mode 100644 index 00000000..5c9edafa --- /dev/null +++ b/.github/workflows/mynewt.yaml @@ -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