Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package hbcontrol

/*
#cgo LDFLAGS: -lhbsdcontrol
#include "control.h"
#include "hbcontrol.h"
*/
import "C"

Expand Down
2 changes: 1 addition & 1 deletion control.c → hbcontrol.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "control.h"
#include "hbcontrol.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
Expand Down
File renamed without changes.
Loading