mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-03-22 21:21:29 +00:00
Compare commits
3 Commits
747b8308c6
...
xdp
| Author | SHA1 | Date | |
|---|---|---|---|
| 97436ee92a | |||
| 6bea1bc8e5 | |||
| 64109fac3b |
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@ -15,8 +15,8 @@ jobs:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
4
.github/workflows/pip.yml
vendored
4
.github/workflows/pip.yml
vendored
@ -19,11 +19,11 @@ jobs:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
||||
8
.github/workflows/wheels.yml
vendored
8
.github/workflows/wheels.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
name: Build SDist
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
@ -39,12 +39,12 @@ jobs:
|
||||
arch: [x86_64]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v3.1
|
||||
uses: pypa/cibuildwheel@v2.17
|
||||
env:
|
||||
CIBW_PLATFORM: linux
|
||||
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
|
||||
@ -80,7 +80,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v5
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
pattern: cibw-*
|
||||
path: dist
|
||||
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -5,3 +5,6 @@
|
||||
[submodule "libbpf"]
|
||||
path = libbpf
|
||||
url = https://github.com/libbpf/libbpf.git
|
||||
[submodule "xdp-tools"]
|
||||
path = xdp-tools
|
||||
url = https://github.com/xdp-project/xdp-tools/
|
||||
|
||||
@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "pylibbpf"
|
||||
version = "0.0.4"
|
||||
version = "0.0.5"
|
||||
description = "Python Bindings for Libbpf"
|
||||
authors = [
|
||||
{ name = "r41k0u", email = "pragyanshchaturvedi18@gmail.com" },
|
||||
|
||||
@ -2,6 +2,6 @@ import pylibbpf as m
|
||||
|
||||
|
||||
def test_main():
|
||||
assert m.__version__ == "0.0.4"
|
||||
assert m.__version__ == "0.0.5"
|
||||
prog = m.BpfProgram("tests/execve2.o")
|
||||
print(prog)
|
||||
|
||||
1
xdp-tools
Submodule
1
xdp-tools
Submodule
Submodule xdp-tools added at fa3bcd03cc
Reference in New Issue
Block a user