Merge pull request #230 from private-octopus/extract-ip-stats #217
This file contains 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: "CITestsMacOS" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
citests: | |
name: CI-Tests-MacOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Install xz | |
run: | | |
brew install xz | |
- name: Run cmake | |
run: | | |
CXXFLAGS="-Wall -Wextra -Wpedantic -Werror" | |
CFLAGS="-Wall -Wextra -Wpedantic -Werror" | |
cmake . | |
make -j 4 | |
- name: Perform Unit Tests | |
run: | | |
./ithitest |