fix(xclk): Zero init ledc_channel_config_t for forward compatibility #294
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build examples | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-examples: | |
name: Build for ${{ matrix.idf_target }} on ${{ matrix.idf_ver }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "latest"] | |
idf_target: ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3"] | |
container: espressif/idf:${{ matrix.idf_ver }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: 'true' | |
- name: esp-idf build | |
env: | |
IDF_TARGET: ${{ matrix.idf_target }} | |
shell: bash | |
working-directory: examples/camera_example | |
run: | | |
. ${IDF_PATH}/export.sh | |
export PEDANTIC_FLAGS="-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable -Werror=unused-but-set-variable -Werror=unused-function" | |
export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes" | |
export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}" | |
idf.py build |