Skip to content

Fixing CI builds#65

Merged
rd235 merged 9 commits intomasterfrom
fix-ci-2025
Mar 18, 2026
Merged

Fixing CI builds#65
rd235 merged 9 commits intomasterfrom
fix-ci-2025

Conversation

@danielinux
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 07:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to stabilize CI/builds by making libpcap-dependent binaries/plugins conditional on detected libpcap headers/libraries, and by adjusting CI and link dependencies so builds don’t fail when pcap isn’t available.

Changes:

  • Gate building and installing vde_pcapplug and pdump on CAN_MAKE_VDE_PCAP instead of the raw ENABLE_PCAP option.
  • Add a header check for pcap.h and use it (with PCAP_LIBRARY) to compute CAN_MAKE_VDE_PCAP, emitting a warning when pcap is enabled but unavailable.
  • Update CI workflow configuration and Linux dependencies; update vde_pcapplug link libraries.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/vde_switch/plugins/CMakeLists.txt Build/install pdump only when CAN_MAKE_VDE_PCAP is true.
src/CMakeLists.txt Link vde_pcapplug with vdecommon and install it only when CAN_MAKE_VDE_PCAP is true.
CMakeLists.txt Add pcap.h detection and compute CAN_MAKE_VDE_PCAP from header+library presence with a warning fallback.
.github/workflows/ci.yml Update triggers and dependency install/checkout steps for CI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Member

@rd235 rd235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@rd235 rd235 merged commit 0176490 into master Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants