From 46eedd995aee6e22f13d7a1bd155b0056d14ffa3 Mon Sep 17 00:00:00 2001 From: nopnop2002 Date: Sat, 8 Jun 2024 09:18:16 +0900 Subject: [PATCH] Create espidf-compile.yml --- .github/workflows/espidf-compile.yml | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/espidf-compile.yml diff --git a/.github/workflows/espidf-compile.yml b/.github/workflows/espidf-compile.yml new file mode 100644 index 0000000..d64dceb --- /dev/null +++ b/.github/workflows/espidf-compile.yml @@ -0,0 +1,43 @@ +name: esp-idf-ci-action + +on: + pull_request: + paths: + - "main/**" + - "components/**" + + push: + paths: + - "main/**" + - "components/**" + + workflow_dispatch: + repository_dispatch: + +jobs: + build: + strategy: + fail-fast: false + matrix: + idf_ver: + - release-v5.0 + - release-v5.1 + - release-v5.2 + - release-v5.3 + idf_target: + - esp32 + - esp32s2 + - esp32c3 + - esp32s3 + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Build Application with ESP-IDF + uses: espressif/esp-idf-ci-action@v1 + with: + esp_idf_version: ${{ matrix.idf_ver }} + target: ${{ matrix.idf_target }} + path: '.'