Improwing speed and reduce code size when fast_float is using as internal parser code. #7
This file contains hidden or 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: VS18-CI C++23 | |
| on: [push, pull_request] | |
| jobs: | |
| ci: | |
| name: vs18/${{matrix.arch}}/${{matrix.cfg}} | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - {gen: Visual Studio 18 2026, arch: Win32, cfg: Release} | |
| - {gen: Visual Studio 18 2026, arch: Win32, cfg: Debug} | |
| - {gen: Visual Studio 18 2026, arch: x64, cfg: Release} | |
| - {gen: Visual Studio 18 2026, arch: x64, cfg: Debug} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v6 | |
| - name: configure | |
| run: >- | |
| cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} | |
| -DFASTFLOAT_CXX_STANDARD=23 | |
| -DFASTFLOAT_TEST=ON | |
| -DFASTFLOAT_CONSTEXPR_TESTS=ON | |
| -DCMAKE_INSTALL_PREFIX:PATH=destination | |
| - name: build | |
| run: | | |
| cmake --build build --verbose --config ${{matrix.cfg}} --parallel | |
| - name: test | |
| run: | | |
| cd build && | |
| ctest --output-on-failure -C ${{matrix.cfg}} |