You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2022/11/14 17:54:16 UTC

[plc4x] branch develop updated: feat(plc4py/github): Add libpcap

This is an automated email from the ASF dual-hosted git repository.

hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new b14a87b44f feat(plc4py/github): Add libpcap
b14a87b44f is described below

commit b14a87b44f01f181bb8016c010aac9527e18a15b
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Mon Nov 14 11:53:27 2022 -0600

    feat(plc4py/github): Add libpcap
---
 .github/workflows/python-build.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml
index 92a12ea1e4..719835989a 100644
--- a/.github/workflows/python-build.yml
+++ b/.github/workflows/python-build.yml
@@ -44,6 +44,14 @@ jobs:
       fail-fast: false
     runs-on: ${{ matrix.os }}
     steps:
+      - name: Install libpcap for Linux
+        if: matrix.os == 'ubuntu-latest'
+        run: sudo apt-get install libpcap-dev
+
+      - name: Install libpcap for macos
+        if: matrix.os == 'macos-latest'
+        run: brew install libpcap
+
       - uses: actions/checkout@v3
       - name: Set up Python
         uses: actions/setup-python@v3