forked from supercollider/supercollider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hid_updates] fix builds in Github Actions to install system hidapi
- Loading branch information
1 parent
b4ea961
commit d880335
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,6 +163,19 @@ jobs: | |
run: sudo apt-get install --yes libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-program-options-dev libyaml-cpp-dev | ||
- name: install qt from apt | ||
run: sudo apt-get install qtbase5-dev qt5-qmake qttools5-dev qttools5-dev-tools qtdeclarative5-dev libqt5svg5-dev libqt5websockets5-dev qtwebengine5-dev | ||
- name: install hidapi | ||
shell: bash | ||
run: | | ||
cd $LIBS_DOWNLOAD_PATH | ||
sudo apt-get install libusb-1.0-0-dev | ||
curl -L https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.14.0.zip -o hidapi.zip | ||
7z x hidapi.zip -y | ||
mv hidapi-hidapi-0.14.0 $GITHUB_WORKSPACE/external_libraries/hidapi/hidapi | ||
cd $GITHUB_WORKSPACE/external_libraries/hidapi/hidapi | ||
mkdir build && cd build | ||
cmake .. | ||
cmake --build . | ||
sudo cmake --build . --target install | ||
- name: configure | ||
run: | | ||
mkdir $BUILD_PATH && cd $BUILD_PATH | ||
|
@@ -333,6 +346,8 @@ jobs: | |
- name: install system libraries | ||
if: env.USE_SYSLIBS == 'true' | ||
run: brew install yaml-cpp [email protected] | ||
- name: install hidapi | ||
run: brew install hidapi | ||
- name: install qt from homebrew | ||
if: matrix.cmake-architectures == 'x86_64' && !matrix.qt-version | ||
run: brew install qt@5 | ||
|
@@ -527,6 +542,9 @@ jobs: | |
shell: bash | ||
run: | | ||
vcpkg install readline --triplet="${{ matrix.vcpkg-triplet }}" --overlay-triplets="$GITHUB_WORKSPACE/vcpkg/triplets" | ||
- name: install hidapi | ||
shell: bash | ||
run: vcpkg install hidapi | ||
- name: configure | ||
shell: bash | ||
run: | | ||
|