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