Try to be more intelligent about enumerating OSs. Ubuntu-only for now. #434
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push, pull_request] | |
jobs: | |
cppcheck-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: | | |
sudo apt-get -y update && sudo apt-get install -y cppcheck && \ | |
cppcheck . --force --inline-suppr | |
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 | |
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 |