From 3ec331d0d27dd113b6c8ed00d9c2d4293ede04af Mon Sep 17 00:00:00 2001 From: Hays Chan <25737801+hayschan@users.noreply.github.com> Date: Wed, 3 Jan 2024 14:28:31 +0800 Subject: [PATCH] Create espidf-compile-v5.1.yml --- .github/workflows/espidf-compile-v5.1.yml | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/espidf-compile-v5.1.yml diff --git a/.github/workflows/espidf-compile-v5.1.yml b/.github/workflows/espidf-compile-v5.1.yml new file mode 100644 index 0000000..f54fb5d --- /dev/null +++ b/.github/workflows/espidf-compile-v5.1.yml @@ -0,0 +1,43 @@ +name: Compile ESP-IDF Sketches for v5.1 + +on: + pull_request: + paths: + - ".github/workflows/espidf-compile-*.yml" + - "examples/**" + - "include/**" + - "priv_include/**" + - "*.c" + - "CMakeLists.txt" + - "Kconfig" + - "idf_component.yml" + + push: + paths: + - ".github/workflows/espidf-compile-*.yml" + - "examples/**" + - "include/**" + - "priv_include/**" + - "*.c" + - "CMakeLists.txt" + - "Kconfig" + - "idf_component.yml" + workflow_dispatch: + repository_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Build default data polling example on v5.1 + uses: espressif/esp-idf-ci-action@v1 + with: + esp_idf_version: v5.1 + target: esp32s3 + path: 'examples/default_example'