summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:21:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:21:43 +0000
commitc8c3bd06ef1a7248c8195d050d8a4075d051256e (patch)
tree419655deec1b0af0c5d3ec488693f1494fb20959 /.github/workflows/test.yml
parentInitial commit. (diff)
downloadiperf3-c8c3bd06ef1a7248c8195d050d8a4075d051256e.tar.xz
iperf3-c8c3bd06ef1a7248c8195d050d8a4075d051256e.zip
Adding upstream version 3.16.upstream/3.16
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..afc960d
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,35 @@
+name: test
+on: [push, pull_request]
+jobs:
+ cppcheck-test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: install dependencies
+ run: |
+ sudo apt-get -y update && sudo apt-get install -y cppcheck && \
+ cppcheck . --force --inline-suppr
+ build-test-latest:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - 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-20_04:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v3
+ - 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