File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Examples
2+
3+ on : [push, pull_request, workflow_dispatch]
4+
5+ jobs :
6+ build :
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ example :
11+ - " libraries/n-able/examples/FreeRTOS"
12+ - " libraries/n-able/examples/BLE_Advertiser"
13+ - " libraries/n-able/examples/BLE_Scan"
14+ variant :
15+ - Generic_nRF51822:chip=xxaa
16+ - Generic_nRF52832
17+ - Generic_nRF52833
18+ - Generic_nRF52840
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - uses : actions/checkout@v3
23+ - name : Build n-able Arduino
24+ uses : arduino/compile-sketches@v1
25+ with :
26+ cli-version : latest
27+ platforms : |
28+ - name: "h2zero:arm-ble"
29+ source-url: "https://h2zero.github.io/n-able-Arduino/package_n-able_boards_index.json"
30+ version: latest
31+ - name: "h2zero:arm-ble"
32+ source-path: .
33+ libraries : |
34+ - name: NimBLE-Arduino
35+ fqbn : " h2zero:arm-ble:${{ matrix.variant }}"
36+ sketch-paths : ${{ matrix.example }}
You can’t perform that action at this time.
0 commit comments