12 Commits

Author SHA1 Message Date
Ihor Dutchak c3a6150d88 CI checks for CMake package files (#485)
Add build steps to check different flavours of the CMake package builds.
2023-01-02 15:22:01 +02:00
Ihor Dutchak 8068574ee1 Add meson.build as a wrapper over CMake (#410)
- not an independent build system, but a wrapper over CMake;
- may be used as a standalone Meson build or as a subproject;
2022-09-10 16:52:46 +03:00
Ihor Dutchak 52fa87300b Windows build artifacts with Github Actions (#414)
- a straight-forward build matrix for Appveyor;
- MSBuild builds with Github Actions;
- Visual Studio 2022 support for `.sln` (toolset v143);
- gather Windows build artifacts with Github actions;
2022-05-08 19:59:39 +03:00
Ihor Dutchak c95795ab5c Fix hidtest build
- fix including platform-specific includes when HIDAPI is a CMake subdirectory;
- check libusb and winapi platform-specific headers with hidtest;
2022-05-05 14:53:17 +03:00
Ihor Dutchak 52c728acf4 Use propper type for mach_port_t default param
- enable compilation warnings as errors for CI to catch such issues in the future;
- fix Mingw strict compilation warnings;
2022-05-05 14:53:17 +03:00
Ihor Dutchak 75aafc3ac9 CI: check for new headers installation 2022-02-25 11:45:27 +02:00
Ihor Dutchak 97887cf2eb Upgrade build script for Windows Server 2022 2022-02-25 11:45:27 +02:00
Ihor Dutchak aaf5f3d172 add libusb-specific hid_libusb_wrap_sys_device
Rationale: on Android one must use UsbManager, to access any
USB device. As a result, libraries like libusb can only use file descriptors
that are provided by UsbManager.
libusb has an API to use such file descriptors: hid_libusb_wrap_sys_device.
Having hid_libusb_wrap_sys_device currently is the only way to make hidapi
work on Android without root access and without custom Android builds.

Relevant info: https://github.com/libusb/libusb/pull/830/files
2021-09-18 18:56:56 +03:00
Ihor Dutchak ac8c9e5f94 Ubuntu CI: apt update before apt install 2021-07-26 13:31:09 +03:00
Ihor Dutchak dd2db8e2bb CI: more CI for CMake
- Linux CMake build;
- Windows MSVC build;
- Windows NMake build;
- Windows MinGW build;
2021-07-04 00:10:29 +03:00
Ihor Dutchak f5ada42915 CI: macOS build for CMake 2021-07-03 20:38:58 +03:00
Ihor Dutchak 916fad56fe macOS: use GitHub action CI instead of Travis-CI (#223) 2020-12-13 23:01:46 +02:00