Commit Graph

26 Commits

Author SHA1 Message Date
Ihor Dutchak d3013f0af3 Weekly runs for Coverity Scan (#565) 2023-05-22 13:50:06 +03:00
Ihor Dutchak 60fd395a4a Multi-platform Coverity build (#557) 2023-05-20 22:04:30 +03:00
Ihor Dutchak 5fa9ec83b2 Windows scans with Coverity (#553) 2023-05-14 23:46:17 +03:00
Ihor Dutchak f0211fb752 Linux scans with Coverity (#548) 2023-05-14 00:26:12 +03:00
Ihor Dutchak 6f145cef32 macOS scans with Coverity (#546) 2023-05-13 23:55:58 +03:00
Ihor Dutchak 62ba4f2ad3 Add stub for Checks workflow 2023-05-12 22:40:38 +03:00
Ihor Dutchak 45a4ba5b38 ci: Docker build for Alpine (#537)
Use GithubActions Docker build for Alpine builds.
To avoid using `builds.sr.ht`.
Closes: #476
2023-05-01 13:22:19 +03:00
Ihor Dutchak 4acef346c2 ci: Docker build for Archlinux (#536)
Use GithubActions Docker build for Archlinux builds.
To avoid using `builds.sr.ht`.
Related: #476
2023-05-01 13:10:32 +03:00
Ihor Dutchak df12234504 ci: Docker build for Fedora/Mingw (#535)
Use GithubActions Docker build for Fedora/Mingw builds.
To avoid using `builds.sr.ht`.
Related: #476
2023-05-01 12:56:27 +03:00
Brendan e65402ff46 Automate doxygen builds (#521)
- updated the doxyfile using doxygen -u
- include hidtest/test.c as a doc'd example
- use a brief doxygen/main_page.md file as the generated site's main page
- strip absolute paths from doxygen output (which now displays as relative paths to repo root)
- add CI to build the docs and save as a CI artifact and rewrite the contents of the gh-pages branch for deployment (for master builds)
- add some missing docstrings and excluded undocumented "helper macros" to satisfy warnings output in doxygen's build log
2023-04-05 12:41:14 +03:00
Ihor Dutchak f81d485fc9 Initial Doxygen CI (fix folder) 2023-04-04 23:36:10 +03:00
Ihor Dutchak 26b5bb0ccf RFC: add hid_get_report_descriptor API function (#451)
- native implementations for hidraw/libusb/macOS;
- HID Report Descriptor reconstruction from HIDP_PREPARSED_DATA on Windows;
- unit-tests for some known devices for `hid_winapi_descriptor_reconstruct_pp_data`;
- support for ASAN builds (mainly to check the `hid_winapi_descriptor_reconstruct_pp_data`/its unit-tests;
2023-03-12 14:45:30 +02:00
Ihor Dutchak fa8b961c6e Upgrade checkout and file-existence-action actions (#494)
The old versions are deprecated due to usage of Node.js 12.
2023-01-06 00:59:25 +02:00
JoergAtGithub c1b78dd9b1 Fix typo in GitHub workflow (#495) 2023-01-06 00:58:38 +02:00
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