Install linux deps

This commit is contained in:
Patricia Aas 2021-09-10 16:39:41 +02:00
parent b708633c95
commit d97731dc0b
1 changed files with 8 additions and 2 deletions

View File

@ -28,12 +28,18 @@ jobs:
${{runner.workspace}}/build/_deps ${{runner.workspace}}/build/_deps
key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }} key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
- name: Configure CMake - name: Fix Path
run: cmake -B ${{github.workspace}}/build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 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 - name: Install clang-tidy
run: sudo apt-get 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 - name: Run clang-tidy
working-directory: ${{runner.workspace}}/build working-directory: ${{runner.workspace}}/build
run: run-clang-tidy run: run-clang-tidy