2020-06-16 22:29:17 +08:00
|
|
|
# For development, trigger this on any push.
|
2020-11-13 00:16:46 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-05-15 00:12:10 +08:00
|
|
|
- main
|
2020-11-13 00:16:46 +08:00
|
|
|
pull_request:
|
2020-06-16 22:29:17 +08:00
|
|
|
|
2020-11-12 21:45:07 +08:00
|
|
|
name: Mynewt
|
|
|
|
|
2020-06-16 22:29:17 +08:00
|
|
|
jobs:
|
|
|
|
environment:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-09-29 20:26:29 +08:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-06-16 22:29:17 +08:00
|
|
|
- name: Print the environment
|
|
|
|
run: |
|
|
|
|
uname -a
|
|
|
|
lscpu
|
|
|
|
free
|
|
|
|
pwd
|
2020-09-29 20:26:29 +08:00
|
|
|
- name: Signed commit check
|
2020-11-13 00:41:57 +08:00
|
|
|
if: ${{ github.event_name == 'pull_request' }}
|
2020-09-29 20:26:29 +08:00
|
|
|
run: |
|
|
|
|
./ci/check-signed-off-by.sh
|
2020-06-16 22:29:17 +08:00
|
|
|
- name: Mynewt install
|
|
|
|
run: |
|
|
|
|
./ci/mynewt_install.sh
|
|
|
|
- name: Mynewt run
|
|
|
|
run: |
|
|
|
|
./ci/mynewt_run.sh
|