Skip to content
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
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ jobs:
run: |
sudo apt-get -y update && sudo apt-get install -y cppcheck && \
cppcheck . --force --inline-suppr
build-test-latest:
runs-on: ubuntu-latest
build-test-ubuntu-ish:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-22.04, ubuntu-22.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: install dependencies
Expand All @@ -21,15 +24,18 @@ jobs:
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost
build-test-ubuntu-20_04:
runs-on: ubuntu-20.04
build-test-macos-ish:
strategy:
matrix:
os: [macos-15, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get -y update && sudo apt-get install -y build-essential
brew install coreutils
- name: build
run: |
./configure && make && make check
timeout 300 src/iperf3 -s &
gtimeout 300 src/iperf3 -s &
./test_commands.sh localhost
4 changes: 2 additions & 2 deletions test_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ host=$1
./src/iperf3 -c "$host" -A 2/2 -u -b1G
# Burst mode
./src/iperf3 -c "$host" -u -b1G/100
# change MSS
./src/iperf3 -c "$host" -M 1000 -V
# test congestion control option (linux only)
./src/iperf3 -c "$host" -C reno -V
# change MSS
./src/iperf3 -c "$host" -M 1000 -V