Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jan 11, 2024
1 parent d0cb3cb commit 2b8a46e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Arduino_CI
name: Build Arduino

on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "src/**"
- "examples/**"
- ".github/workflows/arduino_ci.yml"

jobs:
build:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/esp-idf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build esp-idf

on:
workflow_dispatch:
pull_request:
push:
paths:
- "src/**"
- "examples/ESP_IDF_TouchDrv_Example/**"
- ".github/workflows/esp-idf.yml"

jobs:
build:
strategy:
matrix:
idf_ver: ["latest"]
runs-on: ubuntu-latest

container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Build esp-idf examples
shell: bash
run: |
. ${IDF_PATH}/export.sh
cd examples/ESP_IDF_TouchDrv_Example
idf.py build
7 changes: 5 additions & 2 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: PlatformIO CI
name: Build PlatformIO

on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "src/**"
- "examples/**"
- ".github/workflows/platformio.yml"
- "platformio.ini"

jobs:
build:
Expand Down

0 comments on commit 2b8a46e

Please sign in to comment.