mirror of
https://github.com/thelsing/knx.git
synced 2026-02-23 13:50:35 +01:00
Add native support for ESP IDF with example.
This commit is contained in:
34
.github/workflows/esp-idf.yml
vendored
Normal file
34
.github/workflows/esp-idf.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: ESP-IDF
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: "ESP-IDF ${{ matrix.idf_ver }}"
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
#idf_ver: ["v4.4.7", "v5.1.4", "v5.3.2"]
|
||||
idf_ver: ["v5.4.1"]
|
||||
idf_target: ["esp32"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
path: ${{ github.workspace }}/app
|
||||
|
||||
- name: Compile
|
||||
uses: espressif/esp-idf-ci-action@v1
|
||||
with:
|
||||
esp_idf_version: ${{ matrix.idf_ver }}
|
||||
target: ${{ matrix.idf_target }}
|
||||
path: app/examples/knx-demo-esp-idf
|
||||
command: apt-get update && apt-get install -y python3-venv && idf.py build
|
||||
Reference in New Issue
Block a user