Skip to content

Commit

Permalink
Try to be more intelligent about enumerating OSs. Ubuntu-only for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmah888 committed Feb 28, 2025
1 parent 91c87b4 commit 4075b05
Showing 1 changed file with 5 additions and 44 deletions.
49 changes: 5 additions & 44 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,11 @@ jobs:
run: |
sudo apt-get -y update && sudo apt-get install -y cppcheck && \
cppcheck . --force --inline-suppr
build-test-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get -y update && sudo apt-get install -y build-essential
- name: build
run: |
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost
build-test-ubuntu-22_04:
runs-on: ubuntu-22.04
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 @@ -33,33 +24,3 @@ jobs:
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost
build-test-ubuntu-22_04-arm:
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get -y update && sudo apt-get install -y build-essential
- name: build
run: |
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost
build-test-macos-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: build
run: |
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost
build-test-macos-13:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: build
run: |
./configure && make && make check
timeout 300 src/iperf3 -s &
./test_commands.sh localhost

0 comments on commit 4075b05

Please sign in to comment.