Skip to content

Commit 2b45c3b

Browse files
committed
add ci and move docs
1 parent 0d9cdc0 commit 2b45c3b

File tree

5 files changed

+28
-172
lines changed

5 files changed

+28
-172
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Zig
18+
uses: goto-bus-stop/setup-zig@v2
19+
with:
20+
version: 0.15.1
21+
22+
- name: Build project
23+
run: make build
24+
25+
- name: Run all tests
26+
run: sudo make test-all

E2E_TESTS.md

Lines changed: 0 additions & 172 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# zafxdp - AF_XDP for Zig
22

3+
[![Tests](https://github.com/ncldmg/zafxdp/actions/workflows/test.yml/badge.svg)](https://github.com/ncldmg/zafxdp/actions/workflows/test.yml)
4+
35
A pure Zig implementation of AF_XDP (Address Family XDP) sockets with eBPF program loading, featuring both **low-level** and **high-level** APIs for building high-performance networking applications.
46

57
## Key Features
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)