Adding dependencies #52
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: C/C++ CI | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: [ "main", "dev" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes ninja-build rsync zip | |
sudo apt-get install --yes pkg-config | |
git clone https://github.com/Microsoft/vcpkg.git | |
sudo apt-get install --yes libxtst-dev libxi-dev libdbus-1-dev | |
export VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT | |
cmake --preset linux-release | |
cmake --build --preset linux-release |