Skip to content

Allow compiling with -Wfloat-conversion #165

Allow compiling with -Wfloat-conversion

Allow compiling with -Wfloat-conversion #165

Workflow file for this run

name: Windows
on:
push:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
flags: ["/std:c++11", "/std:c++latest"]
optimize: [/O2]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build and test
env:
CXX: ${{ matrix.compiler }}
CXXFLAGS: ${{ matrix.flags }} ${{ matrix.optimize }}
CTEST_OUTPUT_ON_FAILURE: 1
run: |
cmake -Bbuild -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release && cmake --build build --target ALL_BUILD && cmake --build build --target RUN_TESTS