Skip to content

Commit 2e33089

Browse files
committed
GitHub actions: Sure would be nice if I read the documentation correctly.
1 parent a819ccd commit 2e33089

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

.github/workflows/test.yml

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,56 @@ jobs:
99
run: |
1010
sudo apt-get -y update && sudo apt-get install -y cppcheck && \
1111
cppcheck . --force --inline-suppr
12-
build-test-latest:
13-
runs-on: [ ubuntu-latest, ubuntu-22.04, ubuntu-22.04-arm, macos-latest, macos-13 ]
12+
build-test-ubuntu-latest:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: install dependencies
17+
run: |
18+
sudo apt-get -y update && sudo apt-get install -y build-essential
19+
- name: build
20+
run: |
21+
./configure && make && make check
22+
timeout 300 src/iperf3 -s &
23+
./test_commands.sh localhost
24+
build-test-ubuntu-22.04:
25+
runs-on: ubuntu-22.04
26+
steps:
27+
- uses: actions/checkout@v4
28+
- name: install dependencies
29+
run: |
30+
sudo apt-get -y update && sudo apt-get install -y build-essential
31+
- name: build
32+
run: |
33+
./configure && make && make check
34+
timeout 300 src/iperf3 -s &
35+
./test_commands.sh localhost
36+
build-test-ubuntu-22.04-arm:
37+
runs-on: ubuntu-22.04-arm
38+
steps:
39+
- uses: actions/checkout@v4
40+
- name: install dependencies
41+
run: |
42+
sudo apt-get -y update && sudo apt-get install -y build-essential
43+
- name: build
44+
run: |
45+
./configure && make && make check
46+
timeout 300 src/iperf3 -s &
47+
./test_commands.sh localhost
48+
build-test-macos-latest:
49+
runs-on: macos-latest
50+
steps:
51+
- uses: actions/checkout@v4
52+
- name: install dependencies
53+
run: |
54+
sudo apt-get -y update && sudo apt-get install -y build-essential
55+
- name: build
56+
run: |
57+
./configure && make && make check
58+
timeout 300 src/iperf3 -s &
59+
./test_commands.sh localhost
60+
build-test-macos-13:
61+
runs-on: macos-13
1462
steps:
1563
- uses: actions/checkout@v4
1664
- name: install dependencies

0 commit comments

Comments
 (0)