Merge pull request #490 from david-cermak/fix/mdns_eth #256
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: "console_cmd_ping: build-tests" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened, labeled] | |
jobs: | |
build_console_cmd_ping: | |
if: contains(github.event.pull_request.labels.*.name, 'console') || github.event_name == 'push' | |
name: Build | |
strategy: | |
matrix: | |
idf_ver: ["latest", "release-v5.0"] | |
idf_target: ["esp32"] | |
test: [ { app: ping-basic, path: "components/console_cmd_ping/examples" }] | |
runs-on: ubuntu-20.04 | |
container: espressif/idf:${{ matrix.idf_ver }} | |
steps: | |
- name: Checkout esp-protocols | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} | |
shell: bash | |
working-directory: ${{matrix.test.path}} | |
run: | | |
${IDF_PATH}/install.sh --enable-pytest | |
. ${IDF_PATH}/export.sh | |
python ../../../ci/build_apps.py ./${{ matrix.test.app }} --target ${{ matrix.idf_target }} -vv --preserve-all --pytest-app |