[Scripting] Added interfacing of C++ references with QF variables #33
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: Windows Build | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- ".github/workflows/windows_build.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
pull_request: | |
branches: [ master ] | |
paths: | |
- ".github/workflows/windows_build.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
jobs: | |
build: | |
runs-on: windows-2022 | |
env: | |
CMAKE_PREFIX_PATH: ${{ github.workspace }}\.local | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Boost | |
run: | | |
vcpkg integrate install | |
vcpkg install boost-spirit --triplet x64-windows | |
vcpkg install boost-regex --triplet x64-windows | |
- name: Configure CMake | |
run: cmake -S . -B build "-DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" | |
- name: Build | |
run: cmake --build build --config Release --parallel | |
- name: Test | |
run: | | |
cd build | |
ctest -C Release | |
- name: Install | |
run: cmake --install build --config Release --prefix "$env:CMAKE_PREFIX_PATH" |