feat(ethernet_init): added support of SPI Ethernet for C5 and P4 #191
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
idf_ver: ["latest"] | |
example: ["ksz8863/examples/simple_switch", "ksz8863/examples/switch_mode", "ksz8863/examples/two_ports_mode", "lan867x/examples/lan867x_tcp_sockets/client", "lan867x/examples/lan867x_tcp_sockets/server"] | |
idf_target: ["esp32"] | |
runs-on: ubuntu-20.04 | |
container: espressif/idf:${{ matrix.idf_ver }} | |
steps: | |
- name: Checkout esp_eth_drivers | |
uses: actions/checkout@master | |
with: | |
path: esp_eth_drivers | |
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} | |
env: | |
IDF_TARGET: ${{ matrix.idf_target }} | |
shell: bash | |
run: | | |
. ${IDF_PATH}/export.sh | |
cd $GITHUB_WORKSPACE/esp_eth_drivers/${{ matrix.example }} | |
idf.py build |