Install linux deps

This commit is contained in:
Patricia Aas 2021-09-10 16:39:41 +02:00
parent b708633c95
commit d97731dc0b

View file

@ -28,12 +28,18 @@ jobs:
${{runner.workspace}}/build/_deps
key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Fix Path
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
- name: Install Linux dependencies
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libudev-dev make ninja-build cmake
- name: Install clang-tidy
run: sudo apt-get install clang-tidy
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Run clang-tidy
working-directory: ${{runner.workspace}}/build
run: run-clang-tidy