Skip to content

Fix CMake config to allow using imnodes as sub project (#182) #434

Fix CMake config to allow using imnodes as sub project (#182)

Fix CMake config to allow using imnodes as sub project (#182) #434

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: ${{ github.workspace}}/vcpkg
runVcpkgInstall: true
- name: CMake generate
run: cmake -B build-release/ -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: CMake build
run: cmake --build build-release/ -j