Skip to content

feat(repo): initialize with modules 'check', 'log' and 'utils' #2

feat(repo): initialize with modules 'check', 'log' and 'utils'

feat(repo): initialize with modules 'check', 'log' and 'utils' #2

Workflow file for this run

name: Build Test Application
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
strategy:
matrix:
idf_ver: ["release-v5.1", "release-v5.2", "release-v5.3"]
idf_target: ["esp32", "esp32s3"]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v3
- name: Build Test Application
env:
IDF_TARGET: ${{ matrix.idf_target }}
working-directory: test_apps
shell: bash
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
rm -rf sdkconfig build managed_components dependencies.lock
idf.py -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.ci.cxx_exceptions" build