Skip to content

Commit

Permalink
Create espidf-compile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nopnop2002 authored Jun 8, 2024
1 parent 726fc9c commit 46eedd9
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/espidf-compile.yml
Original file line number Diff line number Diff line change
@@ -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: '.'

0 comments on commit 46eedd9

Please sign in to comment.