Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] fix socat version to 1.7.4.4 #2706

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/border_router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ jobs:
if: ${{ success() && steps.check_cache_result.outputs.cache-hit != 'true' }}
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 nodejs npm
sudo apt-get --no-install-recommends install -y python3-setuptools python3-wheel ninja-build nodejs npm
python3 -m pip install -r third_party/openthread/repo/tests/scripts/thread-cert/requirements.txt
sudo bash third_party/openthread/repo/script/install_socat
- name: Build OpenThread
if: ${{ success() && steps.check_cache_result.outputs.cache-hit != 'true' }}
run: |
Expand Down
8 changes: 4 additions & 4 deletions tests/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ install_common_dependencies()
coreutils \
git \
libprotobuf-dev \
protobuf-compiler \
socat
protobuf-compiler
}

install_openthread_binraries()
Expand All @@ -79,8 +78,6 @@ install_openthread_binraries()
cmake .. -GNinja -DOT_PLATFORM=simulation -DOT_FULL_LOGS=1 -DOT_COMMISSIONER=ON -DOT_JOINER=ON
ninja
sudo ninja install

sudo apt-get install --no-install-recommends -y socat
}

configure_network()
Expand All @@ -97,18 +94,21 @@ case "$(uname)" in
install_common_dependencies

if [ "$BUILD_TARGET" == script-check ] || [ "$BUILD_TARGET" == docker-check ]; then
sudo bash third_party/openthread/repo/script/install_socat
install_openthread_binraries
configure_network
exit 0
fi

if [ "$BUILD_TARGET" == check ] || [ "$BUILD_TARGET" == meshcop ]; then
sudo bash third_party/openthread/repo/script/install_socat
install_openthread_binraries
sudo apt-get install --no-install-recommends -y avahi-daemon avahi-utils
configure_network
fi

if [ "$BUILD_TARGET" == ncp_mode ]; then
sudo bash third_party/openthread/repo/script/install_socat
sudo apt-get install --no-install-recommends -y avahi-daemon avahi-utils
fi

Expand Down
Loading