Skip to content

Merge pull request #166 from vil02/renovate/markusjx-install-boost-2.x #356

Merge pull request #166 from vil02/renovate/markusjx-install-boost-2.x

Merge pull request #166 from vil02/renovate/markusjx-install-boost-2.x #356

Workflow file for this run

---
name: windows_build
'on':
workflow_dispatch:
push:
branches:
- master
pull_request:
schedule:
- cron: '15 1 * * 4'
env:
build_path: ${{github.workspace}}\build
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- windows-2022
build_type:
- Release
- Debug
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install boost
uses: MarkusJx/install-boost@v2.5.0
id: install-boost
with:
boost_version: 1.81.0
- name: Create Build Environment
run: cmake -E make_directory ${{env.build_path}}
- name: Configure CMake
shell: bash
working-directory: ${{env.build_path}}
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
run: >
cmake ../
-D CMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: Build
working-directory: ${{env.build_path}}
shell: bash
run: cmake --build . --config ${{matrix.build_type}}
- name: Test
working-directory: ${{env.build_path}}
shell: bash
run: ctest -C ${{matrix.build_type}}
...