aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorkangping <wgtdkp@google.com>2021-03-16 12:22:02 +0800
committerGitHub <noreply@github.com>2021-03-15 21:22:02 -0700
commit2f566d8f2b7335a58c05e9616e40fcf3fc1cc919 (patch)
treea3704f6162fa95d50967455f93fa0700078aab55 /.github/workflows/build.yml
parent737a289a2fcd8f50b9c6b4ceb26bcd87adafaecd (diff)
downloadot-br-posix-2f566d8f2b7335a58c05e9616e40fcf3fc1cc919.tar.gz
[github-actions] move backbone router tests to dedicated workflow (#734)
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml55
1 files changed, 0 insertions, 55 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6682a6af..7ba8e5be 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -152,58 +152,3 @@ jobs:
cmake --version | grep 3.10.3
- name: Build
run: script/test package
-
- thread-1-2-backbone:
- runs-on: ubuntu-20.04
- env:
- PACKET_VERIFICATION: 1
- REFERENCE_DEVICE: 1
- THREAD_VERSION: 1.2
- INTER_OP: 1
- VIRTUAL_TIME: 0
- PYTHONUNBUFFERED: 1
- OTBR_COVERAGE: 1
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Build OTBR Docker Image
- run: |
- # We need the `-DOT_SRP_SERVER=ON` option because the `bbr_5_11_01.py` script is referring SRP server.
- # This should be fixed by enhancing the test script to handle SRP server situations properly.
- otbr_options="-DOT_DUA=ON -DOT_MLR=ON -DOTBR_COVERAGE=ON -DOT_SRP_SERVER=ON -DOT_ECDSA=ON -DOT_SERVICE=ON -DOTBR_DUA_ROUTING=ON"
- otbr_image_name="otbr-ot12-backbone-ci"
- docker build -t "${otbr_image_name}" -f etc/docker/Dockerfile . \
- --build-arg BORDER_ROUTING=0 \
- --build-arg INFRA_IF_NAME=eth0 \
- --build-arg BACKBONE_ROUTER=1 \
- --build-arg REFERENCE_DEVICE=${REFERENCE_DEVICE} \
- --build-arg OT_BACKBONE_CI=1 \
- --build-arg NAT64=0 \
- --build-arg OTBR_OPTIONS="${otbr_options}"
- - name: Bootstrap OpenThread Test
- run: |
- sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
- sudo apt-get --no-install-recommends install -y python3-setuptools python3-wheel ninja-build socat
- python3 -m pip install -r third_party/openthread/repo/tests/scripts/thread-cert/requirements.txt
- - name: Build OpenThread
- run: |
- (cd third_party/openthread/repo && ./script/test build)
- - name: Get Thread-Wireshark
- run: |
- (cd third_party/openthread/repo && ./script/test get_thread_wireshark)
- - name: Run Test
- run: |
- export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e OTBR_COVERAGE"
- echo "CI_ENV=${CI_ENV}"
- (cd third_party/openthread/repo && sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r *.log *.json *.pcap && false))
- - uses: actions/upload-artifact@v2
- if: ${{ failure() }}
- with:
- name: thread-1-2-backbone-results
- path: |
- third_party/openthread/repo/*.pcap
- third_party/openthread/repo/*.json
- third_party/openthread/repo/*.log
- - name: Codecov
- uses: codecov/codecov-action@v1