File tree Expand file tree Collapse file tree 1 file changed +44
-1
lines changed
Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Original file line number Diff line number Diff line change 9292 source-url: "https://h2zero.github.io/n-able-Arduino/package_n-able_boards_index.json"
9393 version: latest
9494 fqbn : " h2zero:arm-ble:${{ matrix.variant }}"
95- sketch-paths : ${{ matrix.example }}
95+ sketch-paths : ${{ matrix.example }}
96+
97+ build_n-able-pio :
98+ strategy :
99+ fail-fast : false
100+ matrix :
101+ example :
102+ - " examples/NimBLE_Client"
103+ - " examples/NimBLE_Server"
104+ runs-on : ubuntu-latest
105+ steps :
106+ - uses : actions/checkout@v2
107+ - name : Set up Python
108+ uses : actions/setup-python@v1
109+ with :
110+ python-version : " 3.x"
111+ - name : Install platformio
112+ run : |
113+ python -m pip install --upgrade pip
114+ pip install platformio
115+ - name : Build esp PIO
116+ run : |
117+ mkdir -p example/lib
118+ rsync -Rr . example/lib/
119+ mkdir example/src
120+ cat > example/platformio.ini << EOF
121+ [env]
122+ platform = https://github.com/h2zero/platform-n-able.git#1.0.0
123+ framework = arduino
124+
125+ [env:generic_nrf51822_xxaa
126+ board = generic_nrf51822_xxaa
127+
128+ [env:generic_nrf52832]
129+ board = generic_nrf52832
130+
131+ [env:generic_nrf52833]
132+ board = generic_nrf52833
133+
134+ [env:generic_nrf52840]
135+ board = generic_nrf52840
136+ EOF
137+ cp ${{ matrix.example }}/* example/src/
138+ platformio run -d example
You can’t perform that action at this time.
0 commit comments