Skip to content

WIP - test does not fail yet #588

WIP - test does not fail yet

WIP - test does not fail yet #588

Workflow file for this run

name: CMake Windows build
on: [ push ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: hendrikmuhs/[email protected]
- uses: ilammy/msvc-dev-cmd@v1
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}\out
- name: Configure CMake
working-directory: ${{github.workspace}}\out
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -S ${{github.workspace}} -B ${{github.workspace}}\out -DPHTREE_BUILD_EXAMPLES=ON -DPHTREE_BUILD_TESTS=ON
- name: Build
working-directory: ${{github.workspace}}\out
run: cmake --build . --config ${env:BUILD_TYPE} -j2
- name: Test
working-directory: ${{github.workspace}}\out
run: ctest -C ${env:BUILD_TYPE}