Skip to content

Merge pull request #113 from tcbrindle/pr/find_min_max #406

Merge pull request #113 from tcbrindle/pr/find_min_max

Merge pull request #113 from tcbrindle/pr/find_min_max #406

Workflow file for this run

name: windows
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [Win32, x64]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure
# Use a bash shell for $GITHUB_WORKSPACE.
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DFLUX_BUILD_BENCHMARKS=${{matrix.build_type == 'Release'}} \
-DFLUX_BUILD_MODULE=On \
-A ${{matrix.platform}} \
$GITHUB_WORKSPACE
- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config ${{matrix.build_type}}
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}} -V
env:
CTEST_OUTPUT_ON_FAILURE: True