Skip to content

Commit dcc38f3

Browse files
authored
Merge pull request #1 from 0x1eef/ci
Run tests on hardenedBSD
2 parents c59e902 + f318027 commit dcc38f3

4 files changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: hbcontrol
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
name: tests
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Run test
19+
uses: 0x1eef/hardenedbsd-vm@v1
20+
with:
21+
release: '16-CURRENT'
22+
run: |
23+
mdo -u root pkg-static install -y go
24+
make test

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package hbcontrol
22

33
/*
44
#cgo LDFLAGS: -lhbsdcontrol
5-
#include "control.h"
5+
#include "hbcontrol.h"
66
*/
77
import "C"
88

control.c renamed to hbcontrol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "control.h"
1+
#include "hbcontrol.h"
22
#include <errno.h>
33
#include <fcntl.h>
44
#include <stdio.h>
File renamed without changes.

0 commit comments

Comments
 (0)