File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,36 @@ name: Draft PDF
22on : [push]
33
44jobs :
5+
6+ example :
7+ runs-on : ubuntu-24.04
8+ name : Example
9+ env :
10+ MPY_DIR : ./micropython
11+ MICROPYTHON_BIN : ./micropython/ports/unix/build-nomodules/micropython
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Install OS dependencies
15+ run : sudo add-apt-repository universe
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.12'
19+ - uses : actions/checkout@v4
20+ with :
21+ repository : micropython/micropython
22+ path : micropython
23+ ref : master
24+ - name : Install Python dependencies
25+ run : pip install plotly numpy pandas scikit-learn
26+ - name : Setup MicroPython Unix X86
27+ working-directory : micropython
28+ run : |
29+ source tools/ci.sh && ci_unix_32bit_setup && ci_unix_standard_build
30+ mv ./ports/unix/build-standard/ ./ports/unix/build-nomodules/
31+ cp ${MICROPYTHON_BIN} /usr/local/bin/micropython
32+ - name : Run example
33+ run : python create_plot.py
34+
535 paper :
636 runs-on : ubuntu-latest
737 name : Paper Draft
You can’t perform that action at this time.
0 commit comments