CI: Set and update vcpkg baseline in manifest file, let CMake run vcpkg #50
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: PR-Checks | |
on: [pull_request] | |
jobs: | |
pr-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dependencies | |
run: sudo apt install libboost-thread-dev libopus-dev libprotobuf-dev | |
shell: bash | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Check line endings | |
uses: erclu/check-crlf@v1 | |
- name: Generate compile-command DB | |
run: mkdir build; cd build; cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..; cd ..; ln -s build/compile_commands.json . | |
shell: bash | |
- name: Check code formatting | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '10' | |
check-path: '.' | |
exclude-regex: '(build/.*|_dependencies/.*)' | |
include-regex: '.*\.(cpp|hpp|c|h)$' |