Skip to content

Add support for Logitech G Pro X 2 (#316) #246

Add support for Logitech G Pro X 2 (#316)

Add support for Logitech G Pro X 2 (#316) #246

Workflow file for this run

name: Build Windows
on: [push, pull_request]
jobs:
build-windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-hidapi make
- name: Build
run: |
mkdir build
cd build
cmake -G"MSYS Makefiles" ..
make
- name: Test
run: |
cd build
make test
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: headsetcontrol.exe
path: build/headsetcontrol.exe