Skip to content

ci: add github actions to run test suite #2

ci: add github actions to run test suite

ci: add github actions to run test suite #2

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
- name: Configure
run: cmake -DTEST_ENABLE=on -B build
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build --output-on-failure