vcpkg integration

add vcpkg as a package manager
This commit is contained in:
McMassiveNZ
2022-12-14 02:53:37 +01:00
parent f15d16ce11
commit 66d305f765
3 changed files with 11 additions and 2 deletions

View File

@@ -23,12 +23,17 @@ jobs:
BUILD_TYPE: [Debug, Release]
steps:
- uses: actions/checkout@v3
- name: checkout
uses: actions/checkout@v3
- name: run-vcpkg
uses: lukka/run-vcpkg@v10.7
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
-DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/external/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build
# Build your program with the given configuration