Skip to content

Commit aa051a6

Browse files
committed
debug
1 parent bbb58b6 commit aa051a6

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/builds.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,18 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
pacman -Sy
22-
pacman -S --noconfirm glibc lib32-glibc gcc pkg-config autoconf automake libtool libusb libudev0 cmake make
22+
pacman -S --noconfirm glibc lib32-glibc gcc libusb libudev0 cmake make
2323
- name: Configure CMake
2424
run: |
2525
rm -rf build install
2626
cmake -B build/shared-cmake -S hidapisrc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=install/shared-cmake -DHIDAPI_BUILD_HIDTEST=ON "-DCMAKE_C_FLAGS=${GNU_COMPILE_FLAGS}"
2727
cmake -B build/static-cmake -S hidapisrc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=install/static-cmake -DBUILD_SHARED_LIBS=FALSE -DHIDAPI_BUILD_HIDTEST=ON "-DCMAKE_C_FLAGS=${GNU_COMPILE_FLAGS}"
28-
- name: Configure Automake
29-
working-directory: hidapisrc
30-
run: |
31-
./bootstrap
32-
./configure
3328
- name: Build CMake Shared
3429
working-directory: build/shared-cmake
3530
run: make install
3631
- name: Build CMake Static
3732
working-directory: build/static-cmake
3833
run: make install
39-
- name: Build Automake
40-
working-directory: hidapisrc
41-
run: |
42-
make
43-
make DESTDIR=$PWD/../install/automake install
44-
make clean
45-
- name: Build manual Makefile
46-
run: |
47-
cd hidapisrc/linux
48-
make -f Makefile-manual
49-
cd ../libusb
50-
make -f Makefile-manual
5134
- name: Check artifacts
5235
uses: andstor/file-existence-action@v2
5336
with:
@@ -62,7 +45,9 @@ jobs:
6245
fail: true
6346
- name: Check CMake Export Package Shared
6447
run: |
48+
ls -la install/shared-cmake/lib/cmake/hidapi/
6549
cat install/shared-cmake/lib/cmake/hidapi/hidapi-config.cmake
50+
cat install/shared-cmake/lib/cmake/hidapi/hidapi-config-version.cmake
6651
cmake \
6752
-B build/shared_test \
6853
-S hidapisrc/hidtest \

0 commit comments

Comments
 (0)