Commit 5e3b066e authored by David Brown's avatar David Brown Committed by Fabio Utzig
Browse files

github: Add workflow to test mynewt builds

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

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 2d99cba4
Loading
Loading
Loading
Loading
+28 −0
Changes for .github/workflows/mynewt.yaml: 28 added lines, 0 removed lines.
Original line number Diff line number Diff line
# 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