Browse Source

github/workflows: Add new workflow to test embedding example.

Signed-off-by: Damien George <damien@micropython.org>
pull/8270/merge
Damien George 3 years ago
parent
commit
73623d04d5
  1. 21
      .github/workflows/examples.yml

21
.github/workflows/examples.yml

@ -0,0 +1,21 @@
name: Check examples
on:
push:
pull_request:
paths:
- '.github/workflows/*.yml'
- 'examples/**'
- 'ports/unix/**'
- 'py/**'
- 'shared/**'
jobs:
embedding:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: make -C examples/embedding
- name: Run
run: test "$(./examples/embedding/hello-embed)" = "Hello world of easy embedding!"
Loading…
Cancel
Save