Skip to content

Commit 8224a4c

Browse files
authored
CI: add OpenBSD compilation check (signal11#449)
NOTES, as described in signal11#31: - it is still hard to use HIDAPI on OpenBSD since it is hard to use LIBUSB with HID devices; - there is a name colision with `hid_init` from `usbhid` OpenBSD library;
1 parent 8068574 commit 8224a4c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.builds/openbsd.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
image: openbsd/latest
2+
packages:
3+
- cmake
4+
- pkgconf
5+
- libusb1--
6+
- libiconv
7+
- ninja
8+
sources:
9+
- https://github.com/libusb/hidapi
10+
tasks:
11+
- setup: |
12+
cd hidapi
13+
mkdir -p build install
14+
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install
15+
- build: |
16+
cd hidapi/build
17+
ninja
18+
ninja install
19+
ninja clean

0 commit comments

Comments
 (0)