workflows: add macOS testing #3
Workflow file for this run
This file contains hidden or 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: 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 check | |
| - name: bootstrap | |
| run: ./bootstrap.sh | |
| - name: configure | |
| run: ./configure LDFLAGS="-L$(brew --prefix libnet)/lib -L$(brew --prefix check)/lib" CPPFLAGS="-I$(brew --prefix libnet)/include -I$(brew --prefix check)/include" | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: make check | |
| - name: make distcheck | |
| run: make distcheck |