Files
rustnet/.github/workflows/rust.yml
Marco Cadetg 45056d41c8 Install libpcap-dev in CI workflow
Added step to install libpcap-dev before building the project.
2025-09-09 17:14:50 +02:00

23 lines
412 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install libpcap
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose