Skip to content

Merge pull request #149 from chenrui333/add-ci #1

Merge pull request #149 from chenrui333/add-ci

Merge pull request #149 from chenrui333/add-ci #1

Workflow file for this run

name: main
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install libpcap-dev
- name: Run CMake
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
- name: build
run: cmake --build build