Skip to content

Commit abed4fd

Browse files
committed
chore!: remove helpers package
Conclusion of #458
1 parent 64d882b commit abed4fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+139
-6048
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@ updates:
44
directory: "/"
55
schedule:
66
interval: daily
7-
# - package-ecosystem: "github-actions"
8-
# directory: "/helpers"
9-
# schedule:
10-
# interval: daily
117
- package-ecosystem: "gomod"
128
directory: "/"
139
schedule:
1410
interval: daily
15-
# - package-ecosystem: "gomod"
16-
# directory: "/helpers"
17-
# schedule:
18-
# interval: daily

.github/workflows/pr.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,6 @@ jobs:
6868
- name: Test libbpfgo
6969
run: |
7070
make libbpfgo-static-test
71-
helpers-unit-tests:
72-
name: Helpers Unit Tests
73-
runs-on: ubuntu-24.04
74-
strategy:
75-
matrix:
76-
go-version: [ '1.18', '1.19', '1.20', '1.21', '1.22', '1.23', 'stable' ]
77-
steps:
78-
- name: Checkout Code
79-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
80-
- name: Install Dependencies
81-
uses: ./.github/actions/build-dependencies
82-
with:
83-
go-version: ${{ matrix.go-version }}
84-
- name: Test Helpers
85-
run: |
86-
make helpers-test-static-run
8771
self-tests:
8872
name: Selftests
8973
runs-on: ubuntu-24.04

Makefile

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ BASEDIR = $(abspath ./)
66

77
OUTPUT = ./output
88
SELFTEST = ./selftest
9-
HELPERS = ./helpers
109

1110
CLANG := clang
1211
CC := $(CLANG)
@@ -162,25 +161,6 @@ selftest-dynamic-run:
162161
selftest-clean:
163162
$(call FOREACH, clean)
164163

165-
# helpers test
166-
167-
.PHONY: helpers-test-run
168-
.PHONY: helpers-test-static-run
169-
.PHONY: helpers-test-dynamic-run
170-
171-
helpers-test-run: helpers-test-static-run
172-
173-
helpers-test-static-run: libbpfgo-static
174-
cd $(HELPERS) && \
175-
CC=$(CLANG) \
176-
CGO_CFLAGS=$(CGO_CFLAGS_STATIC) \
177-
CGO_LDFLAGS=$(CGO_LDFLAGS_STATIC) \
178-
sudo -E env PATH=$(PATH) $(GO) test -v ./...
179-
180-
helpers-test-dynamic-run: libbpfgo-dynamic
181-
cd $(HELPERS) && \
182-
sudo $(GO) test -v ./...
183-
184164
# vagrant
185165

186166
VAGRANT_DIR = $(abspath ./builder)

Readme.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Currently you will find the following GNU Makefile rules:
3737
| clean | cleans entire tree |
3838
| selftest | builds all selftests (static) |
3939
| selftest-run | runs all selftests (static) |
40-
| helpers-test-run | runs all helpers tests (static) |
4140

4241
* libbpf dynamically linked (libbpf from OS)
4342

@@ -47,7 +46,6 @@ Currently you will find the following GNU Makefile rules:
4746
| libbpfgo-dynamic-test | 'go test' with dynamic libbpfgo |
4847
| selftest-dynamic | build tests with dynamic libbpfgo |
4948
| selftest-dynamic-run | run tests using dynamic libbpfgo |
50-
| helpers-test-dynamic-run | run helpers package unit tests using dynamic libbpfgo |
5149

5250
* statically compiled (libbpf submodule)
5351

@@ -57,7 +55,6 @@ Currently you will find the following GNU Makefile rules:
5755
| libbpfgo-static-test | 'go test' with static libbpfgo |
5856
| selftest-static | build tests with static libbpfgo |
5957
| selftest-static-run | run tests using static libbpfgo |
60-
| helpers-test-static-run | run helpers package unit tests using static libbpfgo |
6158

6259
* examples
6360

docs/helpers.md

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

0 commit comments

Comments
 (0)