Skip to content

Unconditionally add -Wformat-security GCC/Clang option, remove GCC_FORMAT_SECURITY macro #322

Unconditionally add -Wformat-security GCC/Clang option, remove GCC_FORMAT_SECURITY macro

Unconditionally add -Wformat-security GCC/Clang option, remove GCC_FORMAT_SECURITY macro #322

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