From ff4466c2538ceb2f1339e3b0b988fa36e1df50d0 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Sun, 28 Dec 2025 20:27:59 -0800 Subject: [PATCH] workflows: add macOS testing Signed-off-by: Patrick Linnane --- .github/workflows/macos.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..095ff55 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,27 @@ +name: macOS + +on: + push: + branches: [ "arping-2.x" ] + pull_request: + branches: [ "arping-2.x" ] + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: brew install autoconf automake libnet + - name: bootstrap + run: ./bootstrap.sh + - name: configure + run: | + export LDFLAGS="-L$(brew --prefix libnet)/lib" + export CPPFLAGS="-I$(brew --prefix libnet)/include" + ./configure + - name: make + run: make + - name: test + run: ./src/arping --help