This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
Add missing header #16
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: MemCapture Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build MemCapture | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Dependencies | |
run: | | |
sudo apt update -y -q | |
sudo apt install -q -y cmake build-essential | |
- name: vcpkg install | |
run: | | |
git clone https://github.com/microsoft/vcpkg /opt/vcpkg | |
cd /opt/vcpkg | |
./bootstrap-vcpkg.sh | |
- name: build | |
run: | | |
cd $GITHUB_WORKSPACE | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake .. | |
make -j$(nproc) |