Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -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