mirror of
https://github.com/RPCS3/hidapi.git
synced 2024-11-27 03:50:29 +00:00
CI: more CMake build checks (#450)
Check CMake build on: - Alpine - Archlinux - Fedora/mingw64 - FreeBSD
This commit is contained in:
parent
8224a4cb56
commit
ceb41e0abe
@ -6,18 +6,29 @@ packages:
|
||||
- eudev-dev
|
||||
- libusb-dev
|
||||
- linux-headers
|
||||
- cmake
|
||||
- ninja
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
echo Configure Autotools build
|
||||
./bootstrap
|
||||
./configure
|
||||
- build: |
|
||||
echo Configure CMake build
|
||||
mkdir -p build install_cmake
|
||||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install_cmake
|
||||
- build-autotools: |
|
||||
cd hidapi
|
||||
make
|
||||
make DESTDIR=$PWD/root install
|
||||
make clean
|
||||
- build-cmake: |
|
||||
cd hidapi/build
|
||||
ninja
|
||||
ninja install
|
||||
ninja clean
|
||||
- build-manual: |
|
||||
cd hidapi/linux
|
||||
make -f Makefile-manual
|
||||
|
@ -5,18 +5,29 @@ packages:
|
||||
- libtool
|
||||
- libusb
|
||||
- libudev0
|
||||
- cmake
|
||||
- ninja
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
echo Configure Autotools build
|
||||
./bootstrap
|
||||
./configure
|
||||
- build: |
|
||||
echo Configure CMake build
|
||||
mkdir -p build install_cmake
|
||||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install_cmake
|
||||
- build-autotools: |
|
||||
cd hidapi
|
||||
make
|
||||
make DESTDIR=$PWD/root install
|
||||
make clean
|
||||
- build-cmake: |
|
||||
cd hidapi/build
|
||||
ninja
|
||||
ninja install
|
||||
ninja clean
|
||||
- build-manual: |
|
||||
cd hidapi/linux
|
||||
make -f Makefile-manual
|
||||
|
@ -5,18 +5,29 @@ packages:
|
||||
- libtool
|
||||
- mingw64-gcc
|
||||
- mingw64-gcc-c++
|
||||
- cmake
|
||||
- ninja-build
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
echo Configure Autotools build
|
||||
./bootstrap
|
||||
mingw64-configure
|
||||
- build: |
|
||||
echo Configure CMake build
|
||||
mkdir -p build install_cmake
|
||||
mingw64-cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install_cmake
|
||||
- build-autotools: |
|
||||
cd hidapi
|
||||
make
|
||||
make DESTDIR=$PWD/root install
|
||||
make clean
|
||||
- build-cmake: |
|
||||
cd hidapi/build
|
||||
ninja
|
||||
DESTDIR=$PWD/../install_cmake ninja install
|
||||
ninja clean
|
||||
- build-manual: |
|
||||
cd hidapi/windows
|
||||
make -f Makefile-manual OS=MINGW CC=x86_64-w64-mingw32-gcc
|
||||
|
@ -6,18 +6,29 @@ packages:
|
||||
- libiconv
|
||||
- libtool
|
||||
- pkgconf
|
||||
- cmake
|
||||
- ninja
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
echo Configure Autotools build
|
||||
./bootstrap
|
||||
./configure
|
||||
- build: |
|
||||
echo Configure CMake build
|
||||
mkdir -p build install_cmake
|
||||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install_cmake
|
||||
- build-autotools: |
|
||||
cd hidapi
|
||||
make
|
||||
make DESTDIR=$PWD/root install
|
||||
make clean
|
||||
- build-cmake: |
|
||||
cd hidapi/build
|
||||
ninja
|
||||
ninja install
|
||||
ninja clean
|
||||
- build-manual: |
|
||||
cd hidapi/libusb
|
||||
gmake -f Makefile-manual
|
||||
|
@ -7,7 +7,7 @@ packages:
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
mkdir -p build install
|
||||
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install
|
||||
|
@ -8,7 +8,7 @@ packages:
|
||||
sources:
|
||||
- https://github.com/libusb/hidapi
|
||||
tasks:
|
||||
- setup: |
|
||||
- configure: |
|
||||
cd hidapi
|
||||
mkdir -p build install
|
||||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install
|
||||
|
Loading…
Reference in New Issue
Block a user