Skip to content

FIx for maxOS and OpenBSD #22

FIx for maxOS and OpenBSD

FIx for maxOS and OpenBSD #22

Workflow file for this run

name: C/C++ CI
on: [push, workflow_dispatch]
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install expect and libpcap
run: sudo apt install expect libpcap-dev
- name: Build & Test
run: |
cmake -E remove_directory build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -O2 -fsanitize=address,undefined"
cmake --build build
cd build
ctest --output-on-failure
build-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Build & Test
run: |
cmake -E remove_directory build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -O2 -fsanitize=address,undefined"
cmake --build build
cd build
ctest --output-on-failure