Fix pipeline #48
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: update apt | |
run: | | |
sudo apt-get update \ | |
apt-get install --yes ninja-build rsync zip \ | |
apt-get install --yes pkg-config \ | |
git clone https://github.com/Microsoft/vcpkg.git \ | |
export VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT \ | |
- name: cmake configure | |
run: cmake --preset linux-release | |
- name: build | |
run: cmake --build --preset linux-release |