File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 8585 with :
8686 files : ${{ github.workspace }}/build/coverage_xml.xml
8787
88+ build-arduino-example :
89+ runs-on : ubuntu-latest
90+
91+ steps :
92+ - uses : actions/checkout@v3
93+
94+ - name : Generate single header lib
95+ working-directory : ${{github.workspace}}/lib
96+ run : python3 build-shl.py
97+
98+ - name : Copy single header file to sketch dir
99+ run : cp ${{github.workspace}}/lib/shl/embedded_cli.h ${{github.workspace}}/examples/arduino-cli/embedded_cli.h
100+
101+ - name : Compile arduino sketch
102+ uses : arduino/compile-sketches@v1
103+ with :
104+ sketch-paths : |
105+ - examples/arduino-cli
106+
88107 build-win :
89108 strategy :
90109 fail-fast : false
Original file line number Diff line number Diff line change 11/* *
22 * Simple example of using embedded-cli in arduino.
3- * To compile copy embedded-cli.h and embedded-cli.c to sketch directory.
3+ * To compile copy embedded-cli.h (single header version) to sketch directory.
44 *
55 * With specified settings:
66 * 32 bytes for cmd buffer, 16 for RX buffer,
You can’t perform that action at this time.
0 commit comments