|
1 | 1 | name: Examples
|
2 | 2 |
|
3 |
| -on: [push, pull_request] |
| 3 | +on: |
| 4 | + workflow_dispatch: # Manually start a workflow |
| 5 | + push: |
| 6 | + paths-ignore: |
| 7 | + - '.github/**' # Ignore changes towards the .github directory |
| 8 | + - '**.md' # Do no build if *.md files changes |
4 | 9 |
|
5 | 10 | jobs:
|
6 | 11 | build:
|
7 | 12 | strategy:
|
8 | 13 | fail-fast: false
|
9 | 14 | matrix:
|
10 |
| - os: [ubuntu-latest, windows-latest, macos-latest] |
| 15 | + os: [ubuntu-22.04, windows-2022, macos-14] |
11 | 16 | example:
|
12 |
| - - "examples/arduino-ble5-advertising" |
13 | 17 | - "examples/arduino-blink"
|
| 18 | + - "examples/arduino-rmt-blink" |
14 | 19 | - "examples/arduino-usb-keyboard"
|
15 | 20 | - "examples/arduino-wifiscan"
|
16 | 21 | - "examples/espidf-arduino-blink"
|
17 |
| - - "examples/espidf-arduino-wifiscan" |
18 |
| - - "examples/espidf-ble-eddystone" |
| 22 | + - "examples/espidf-arduino-littlefs" |
| 23 | + - "examples/espidf-blink" |
19 | 24 | - "examples/espidf-coap-server"
|
20 | 25 | - "examples/espidf-exceptions"
|
21 | 26 | - "examples/espidf-hello-world"
|
22 | 27 | - "examples/espidf-http-request"
|
23 | 28 | - "examples/espidf-peripherals-uart"
|
24 | 29 | - "examples/espidf-peripherals-usb"
|
25 | 30 | - "examples/espidf-storage-sdcard"
|
26 |
| - - "examples/espidf-storage-spiffs" |
27 |
| - - "examples/espidf-ulp-adc" |
28 |
| - - "examples/espidf-ulp-pulse" |
| 31 | + - "examples/espidf-ulp" |
| 32 | + - "examples/espidf-ulp-riscv" |
29 | 33 | runs-on: ${{ matrix.os }}
|
30 | 34 | steps:
|
31 |
| - - uses: actions/checkout@v3 |
| 35 | + - uses: actions/checkout@v4 |
32 | 36 | with:
|
33 | 37 | submodules: "recursive"
|
34 | 38 | - name: Set up Python
|
35 |
| - uses: actions/setup-python@v3 |
| 39 | + uses: actions/setup-python@v5 |
36 | 40 | with:
|
37 |
| - python-version: "3.9" |
| 41 | + python-version: "3.11" |
38 | 42 | - name: Install dependencies
|
39 | 43 | run: |
|
| 44 | + python -m pip install --upgrade pip |
| 45 | + pip install wheel |
40 | 46 | pip install -U https://github.com/platformio/platformio/archive/develop.zip
|
41 | 47 | pio pkg install --global --platform symlink://.
|
42 | 48 | - name: Build examples
|
|
0 commit comments