1# For development, trigger this on any push.
2on:
3  push:
4    branches:
5      - main
6  pull_request:
7
8name: Mynewt
9
10concurrency:
11  group: mynewt-${{ github.event.pull_request.number || github.ref }}
12  cancel-in-progress: true
13
14jobs:
15  environment:
16    runs-on: ubuntu-latest
17    steps:
18    - uses: actions/checkout@v2
19      with:
20        fetch-depth: 0
21    - name: Print the environment
22      run: |
23        uname -a
24        lscpu
25        free
26        pwd
27    - name: Signed commit check
28      if: ${{ github.event_name == 'pull_request' }}
29      run: |
30        ./ci/check-signed-off-by.sh
31    - name: Mynewt install
32      run: |
33        ./ci/mynewt_install.sh
34    - name: Mynewt run
35      run: |
36        ./ci/mynewt_run.sh
37