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,35 @@ 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+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Install OS dependencies
14+ run : sudo add-apt-repository universe
15+ - uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.12'
18+ - uses : actions/checkout@v4
19+ with :
20+ repository : micropython/micropython
21+ path : micropython
22+ ref : master
23+ - name : Install Python dependencies
24+ run : pip install plotly numpy pandas scikit-learn
25+ - name : Setup MicroPython Unix X86
26+ working-directory : micropython
27+ run : |
28+ source tools/ci.sh && ci_unix_32bit_setup && ci_unix_standard_build
29+ cp ./ports/unix/build-standard/micropython /usr/local/bin/micropython
30+ - name : Run example
31+ working-directory : paper
32+ run : python create_plot.py
33+
534 paper :
635 runs-on : ubuntu-latest
736 name : Paper Draft
You can’t perform that action at this time.
0 commit comments