From 9c0dbed6298212ce86f4cb773ccfb92cd7396cc2 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 6 Dec 2025 19:39:24 +0000 Subject: [PATCH 1/4] control.{c,h} -> hbcontrol.{c,h} --- context.go | 2 +- control.c => hbcontrol.c | 2 +- control.h => hbcontrol.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename control.c => hbcontrol.c (99%) rename control.h => hbcontrol.h (100%) diff --git a/context.go b/context.go index ce8659c..3c34ed1 100644 --- a/context.go +++ b/context.go @@ -2,7 +2,7 @@ package hbcontrol /* #cgo LDFLAGS: -lhbsdcontrol - #include "control.h" + #include "hbcontrol.h" */ import "C" diff --git a/control.c b/hbcontrol.c similarity index 99% rename from control.c rename to hbcontrol.c index 96f2414..a5bde9e 100644 --- a/control.c +++ b/hbcontrol.c @@ -1,4 +1,4 @@ -#include "control.h" +#include "hbcontrol.h" #include #include #include diff --git a/control.h b/hbcontrol.h similarity index 100% rename from control.h rename to hbcontrol.h From f81b23132a772a67a8b389afd609967db897d323 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 13 Dec 2025 22:47:57 -0300 Subject: [PATCH 2/4] Add CI --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..db98765 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: hbcontrol +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + test: + name: tests + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run test + uses: 0x1eef/hardenedbsd-vm@v1 + with: + release: '16-CURRENT' + run: | + mdo -u root pkg-static install -y go + make test \ No newline at end of file From 3efaa2a62a5c5162351c01c9dfbfb58490be6cd2 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 13 Dec 2025 22:56:11 -0300 Subject: [PATCH 3/4] Target main branch --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db98765..feaaf27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Run test - uses: 0x1eef/hardenedbsd-vm@v1 + uses: 0x1eef/hardenedbsd-vm@main with: release: '16-CURRENT' run: | From f31802754b3985c8857fed60e11322729f1742b7 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 14 Dec 2025 12:28:17 -0300 Subject: [PATCH 4/4] And finally, the v1 branch --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index feaaf27..db98765 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Run test - uses: 0x1eef/hardenedbsd-vm@main + uses: 0x1eef/hardenedbsd-vm@v1 with: release: '16-CURRENT' run: |