examples/embedding: Rework example to use ports/embed.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2022-10-06 11:14:58 +11:00
parent a8a1ad1391
commit 4f3780a156
9 changed files with 111 additions and 439 deletions

View File

@@ -20,6 +20,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: make -C examples/embedding
run: make -C examples/embedding -f micropython_embed.mk && make -C examples/embedding
- name: Run
run: test "$(./examples/embedding/hello-embed)" = "Hello world of easy embedding!"
run: ./examples/embedding/embed | grep "hello world"