forked from espressif/esp-protocols
* Implement factory pattern * Make netif type configurable (PPP vs. TUN) * Use ICMP for TUN netif connection * Relax deps criteria (mainly for Ethernet)use the tun feature
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: "eppp_link: build-tests"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, labeled]
|
|
|
|
jobs:
|
|
build_eppp:
|
|
if: contains(github.event.pull_request.labels.*.name, 'eppp') || github.event_name == 'push'
|
|
name: Build
|
|
strategy:
|
|
matrix:
|
|
idf_ver: ["latest", "release-v5.5", "release-v5.4", "release-v5.3"]
|
|
test: [ { app: host, path: "examples/host" }, { app: slave, path: "examples/slave" }, { app: test_app, path: "test/test_app" }]
|
|
runs-on: ubuntu-22.04
|
|
container: espressif/idf:${{ matrix.idf_ver }}
|
|
steps:
|
|
- name: Checkout esp-protocols
|
|
uses: actions/checkout@v3
|
|
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }}
|
|
env:
|
|
EXPECTED_WARNING: "DeprecationWarning: 'MultiCommand' is deprecated and will be removed\nCryptographyDeprecationWarning: Parsed a serial number which wasn't positive"
|
|
shell: bash
|
|
run: |
|
|
. ${IDF_PATH}/export.sh
|
|
pip install idf-component-manager idf-build-apps --upgrade
|
|
python ./ci/build_apps.py ./components/eppp_link/${{matrix.test.path}} -vv --preserve-all
|