Skip to content

Require C99 compiler support #291

Require C99 compiler support

Require C99 compiler support #291

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: install autotools on macos
run: brew install automake
if: matrix.os == 'macos-latest'
- name: install libpcap on linux
run: |
sudo apt-get update -qq
sudo apt-get install -qq libpcap0.8-dev libcap-dev
if: matrix.os == 'ubuntu-latest'
- name: autoreconf
run: autoreconf --install
- name: configure
run: ./configure
- name: make
run: make
- name: make distcheck
run: make distcheck
- name: localnet run
run: |
sudo make install
arp-scan -vv --localnet --limit=1
if: matrix.os == 'ubuntu-latest'
- name: print info
run: |
uname -a
lsb_release -a || true
sw_vers || true
gcc --version
autoconf --version
automake --version
./arp-scan --version