Skip to content

Commit b725b5c

Browse files
committed
Fix and update build tests.
1 parent 0aaa60c commit b725b5c

File tree

6 files changed

+321
-422
lines changed

6 files changed

+321
-422
lines changed

.github/workflows/examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
11-
python-version: [3.9]
11+
python-version: [3.12]
1212
example:
1313
- "examples/BLE-client-test"
1414
- "examples/BLE-server-test"
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip
2727
pip install -U https://github.com/platformio/platformio/archive/develop.zip
28-
platformio platform install file://.
28+
pio pkg install --global --platform file://.
2929
- name: Build examples
3030
run: |
31-
platformio run -d ${{ matrix.example }}
31+
pio run -d ${{ matrix.example }}

examples/BLE-client-test/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ framework = arduino
1414
monitor_speed=115200
1515

1616
[common]
17-
lib_deps = h2zero/NimBLE-Arduino@^1.4.0
17+
lib_deps = h2zero/NimBLE-Arduino
1818
build_flags =
1919
'-DCONFIG_NIMBLE_CPP_LOG_LEVEL=0'
2020
'-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED'

0 commit comments

Comments
 (0)