Skip to content

Fix floating point comparison precision expansion error in test case. #122

Fix floating point comparison precision expansion error in test case.

Fix floating point comparison precision expansion error in test case. #122

Workflow file for this run

name: all tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
BUILD_TYPE: Release
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -B ${{github.workspace}}/bld -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_TESTS=1
- name: build
run: cmake --build ${{github.workspace}}/bld --config ${{env.BUILD_TYPE}}
- name: test
working-directory: ${{github.workspace}}/bld
run: ctest -C ${{env.BUILD_TYPE}}
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -B ${{github.workspace}}/bld -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_TESTS=1
- name: build
run: cmake --build ${{github.workspace}}/bld --config ${{env.BUILD_TYPE}}
- name: test
working-directory: ${{github.workspace}}/bld
run: ctest -C ${{env.BUILD_TYPE}}
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -B ${{github.workspace}}/bld -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_TESTS=1
- name: build
run: cmake --build ${{github.workspace}}/bld --config ${{env.BUILD_TYPE}}
- name: test
working-directory: ${{github.workspace}}/bld
run: ctest -C ${{env.BUILD_TYPE}}