2022-03-25 00:38:19 +00:00
|
|
|
name: Check examples
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'examples/**'
|
|
|
|
- 'ports/unix/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'shared/**'
|
|
|
|
|
2022-12-13 18:57:34 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-03-25 00:38:19 +00:00
|
|
|
jobs:
|
|
|
|
embedding:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-10 15:50:38 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-03-25 00:38:19 +00:00
|
|
|
- name: Build
|
2022-10-06 01:14:58 +01:00
|
|
|
run: make -C examples/embedding -f micropython_embed.mk && make -C examples/embedding
|
2022-03-25 00:38:19 +00:00
|
|
|
- name: Run
|
2022-10-06 01:14:58 +01:00
|
|
|
run: ./examples/embedding/embed | grep "hello world"
|