Skip to content

Commit

Permalink
GitHub actions: Sure would be nice if I read the documentation correc…
Browse files Browse the repository at this point in the history
…tly.
  • Loading branch information
bmah888 committed Feb 21, 2025
1 parent a819ccd commit 2e33089
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,56 @@ jobs:
run: |
sudo apt-get -y update && sudo apt-get install -y cppcheck && \
cppcheck . --force --inline-suppr
build-test-latest:
runs-on: [ ubuntu-latest, ubuntu-22.04, ubuntu-22.04-arm, macos-latest, macos-13 ]
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
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-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: 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-13:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: install dependencies
Expand Down

0 comments on commit 2e33089

Please sign in to comment.