|
8 | 8 | types: [opened, synchronize, reopened, labeled]
|
9 | 9 |
|
10 | 10 | jobs:
|
11 |
| - build_esp_modem: |
| 11 | + build_esp_modem_examples: |
12 | 12 | if: contains(github.event.pull_request.labels.*.name, 'modem') || github.event_name == 'push'
|
13 |
| - name: Build |
| 13 | + name: Build examples |
14 | 14 | strategy:
|
15 | 15 | matrix:
|
16 | 16 | idf_ver: ["latest", "release-v4.2", "release-v4.3", "release-v4.4", "release-v5.0"]
|
|
50 | 50 | . ${IDF_PATH}/export.sh
|
51 | 51 | python -m pip install idf-build-apps
|
52 | 52 | cd $GITHUB_WORKSPACE/protocols
|
53 |
| - python ./ci/build_apps.py components/esp_modem/examples/${{ matrix.example }} -m components/esp_modem/examples/.build-test-rules.yml |
| 53 | + python ./ci/build_apps.py components/esp_modem/examples/${{ matrix.example }} -m components/esp_modem/.build-test-rules.yml |
| 54 | +
|
| 55 | + build_esp_modem_tests: |
| 56 | + if: contains(github.event.pull_request.labels.*.name, 'modem') || github.event_name == 'push' |
| 57 | + name: Build tests |
| 58 | + strategy: |
| 59 | + matrix: |
| 60 | + idf_ver: ["release-v5.0", "release-v5.1", "latest"] |
| 61 | + test: ["target", "target_iperf"] |
| 62 | + |
| 63 | + runs-on: ubuntu-20.04 |
| 64 | + container: espressif/idf:${{ matrix.idf_ver }} |
| 65 | + steps: |
| 66 | + - name: Checkout esp-protocols |
| 67 | + uses: actions/checkout@v3 |
| 68 | + with: |
| 69 | + path: protocols |
| 70 | + - name: Build ${{ matrix.test }} with IDF-${{ matrix.idf_ver }} |
| 71 | + env: |
| 72 | + EXPECTED_WARNING: ${{ matrix.warning }} |
| 73 | + shell: bash |
| 74 | + run: | |
| 75 | + . ${IDF_PATH}/export.sh |
| 76 | + python -m pip install idf-build-apps |
| 77 | + cd $GITHUB_WORKSPACE/protocols |
| 78 | + python ./ci/build_apps.py components/esp_modem/test/${{ matrix.test }} -m components/esp_modem/.build-test-rules.yml |
| 79 | +
|
54 | 80 |
|
55 | 81 | host_test_esp_modem:
|
56 | 82 | if: contains(github.event.pull_request.labels.*.name, 'modem') || github.event_name == 'push'
|
|
0 commit comments