✨Added support for controlling lights on gamepad #22
Workflow file for this run
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
name: Ubuntu | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
paths-ignore: | |
- docs/* | |
- README.md | |
pull_request: | |
paths-ignore: | |
- docs/* | |
- README.md | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
gcc_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install gcc 11 | |
run: | | |
sudo apt update | |
sudo apt install gcc-11 g++-11 | |
- name: Install dependencies | |
run: | | |
sudo apt install libhidapi-dev libssl-dev | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/build | |
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release | |
env: | |
CC: gcc-11 | |
CXX: g++-11 | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config Release |