mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 17:17:45 +00:00
[github-actions] remove pyspinel tests (#7662)
This commit is contained in:
@@ -348,97 +348,6 @@ jobs:
|
||||
name: cov-multiple-instance
|
||||
path: tmp/coverage.info
|
||||
|
||||
ncp-gcc-m32:
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
CFLAGS: -m32
|
||||
CXXFLAGS: -m32
|
||||
LDFLAGS: -m32
|
||||
COVERAGE: 1
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
NODE_TYPE: ncp-sim
|
||||
PYTHONUNBUFFERED: 1
|
||||
REFERENCE_DEVICE: 1
|
||||
THREAD_VERSION: 1.1
|
||||
VIRTUAL_TIME: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
|
||||
sudo apt-get --no-install-recommends install -y g++-multilib python3-setuptools python3-wheel lcov
|
||||
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
|
||||
pyspineldir=$(mktemp -d -t pyspinel_XXXXXX)
|
||||
./script/git-tool clone https://github.com/openthread/pyspinel.git --depth 1 "${pyspineldir}"
|
||||
cd "${pyspineldir}"
|
||||
pip3 install .
|
||||
- name: Build
|
||||
run: |
|
||||
./bootstrap
|
||||
make -f examples/Makefile-simulation
|
||||
- name: Run
|
||||
run: |
|
||||
VERBOSE=1 make -f examples/Makefile-simulation check
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: ncp-gcc-m32-thread-cert
|
||||
path: build/simulation/tests/scripts/thread-cert
|
||||
- name: Generate Coverage
|
||||
run: |
|
||||
./script/test generate_coverage gcc
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cov-ncp-gcc-m32
|
||||
path: tmp/coverage.info
|
||||
|
||||
ncp-clang:
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
COVERAGE: 1
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
NODE_TYPE: ncp-sim
|
||||
PYTHONUNBUFFERED: 1
|
||||
REFERENCE_DEVICE: 1
|
||||
THREAD_VERSION: 1.1
|
||||
VIRTUAL_TIME: 1
|
||||
CC: clang-10
|
||||
CXX: clang++-10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
|
||||
sudo apt-get --no-install-recommends install -y clang-10 clang++-10 python3-setuptools python3-wheel llvm lcov
|
||||
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
|
||||
pyspineldir=$(mktemp -d -t pyspinel_XXXXXX)
|
||||
./script/git-tool clone https://github.com/openthread/pyspinel.git --depth 1 "${pyspineldir}"
|
||||
cd "${pyspineldir}"
|
||||
pip3 install .
|
||||
- name: Build
|
||||
run: |
|
||||
./bootstrap
|
||||
make -f examples/Makefile-simulation
|
||||
- name: Run
|
||||
run: |
|
||||
VERBOSE=1 make -f examples/Makefile-simulation check
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: cli-clang-thread-cert
|
||||
path: build/simulation/tests/scripts/thread-cert
|
||||
- name: Generate Coverage
|
||||
run: |
|
||||
./script/test generate_coverage llvm
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cov-ncp-clang
|
||||
path: tmp/coverage.info
|
||||
|
||||
upload-coverage:
|
||||
needs:
|
||||
- packet-verification
|
||||
@@ -448,8 +357,6 @@ jobs:
|
||||
- expects
|
||||
- ot-commissioner
|
||||
- multiple-instance
|
||||
- ncp-gcc-m32
|
||||
- ncp-clang
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user