Skip to content

Commit

Permalink
[toranj] update the CI ubuntu environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Irving-cl committed Jan 4, 2024
1 parent e2fd726 commit deb1991
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/toranj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,24 @@ jobs:
if: "github.ref != 'refs/heads/master'"

toranj-ncp:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
TORANJ_RADIO : 15.4
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Bootstrap
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get --no-install-recommends install -y dbus libdbus-1-dev
sudo apt-get --no-install-recommends install -y autoconf-archive
sudo apt-get --no-install-recommends install -y bsdtar
sudo apt-get --no-install-recommends install -y libarchive-tools
sudo apt-get --no-install-recommends install -y libtool
sudo apt-get --no-install-recommends install -y libglib2.0-dev
sudo apt-get --no-install-recommends install -y libboost-dev libboost-signals-dev
sudo apt-get --no-install-recommends install -y libboost-dev
sudo apt-get --no-install-recommends install -y lcov
sudo apt-get --no-install-recommends install -y ninja-build
- name: Build & Run
run: |
Expand All @@ -68,5 +69,6 @@ jobs:
git clone --depth=1 --branch=main https://github.com/openthread/openthread.git
cd openthread
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
./tests/toranj/start.sh

0 comments on commit deb1991

Please sign in to comment.