removed cephes implementation for pow since it's too slow #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-ubuntu-clang: | |
name: ubuntu-clang | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure CMake | |
run: cmake ${{github.workspace}}/tests/ -DCMAKE_C_COMPILER=clang | |
- name: Build | |
run: cmake --build ${{github.workspace}}/ | |
- name: Test precision | |
working-directory: ${{github.workspace}}/ | |
run: ./test_precision | |
- name: Test fast | |
working-directory: ${{github.workspace}}/ | |
run: ./test_fast | |
- name: Benchmark precision | |
working-directory: ${{github.workspace}}/ | |
run: ./benchmark_precision | |
- name: Benchmark fast | |
working-directory: ${{github.workspace}}/ | |
run: ./benchmark_fast | |
build-macos: | |
name: macos | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure CMake | |
run: cmake ${{github.workspace}}/tests/ | |
- name: Build | |
run: cmake --build ${{github.workspace}}/ | |
- name: Test precision | |
working-directory: ${{github.workspace}}/ | |
run: ./test_precision | |
- name: Test fast | |
working-directory: ${{github.workspace}}/ | |
run: ./test_fast | |
- name: Benchmark precision | |
working-directory: ${{github.workspace}}/ | |
run: ./benchmark_precision | |
- name: Benchmark fast | |
working-directory: ${{github.workspace}}/ | |
run: ./benchmark_fast | |
build-windows: | |
name: windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}\tests | |
run: cmake . | |
- name: Build | |
working-directory: ${{github.workspace}}\tests | |
run: cmake --build . | |
- name: Test precision | |
working-directory: ${{github.workspace}}\tests\Debug | |
run: ./test_precision | |
- name: Test fast | |
working-directory: ${{github.workspace}}\tests\Debug | |
run: ./test_fast |