Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
477 commits
Select commit Hold shift + click to select a range
b73ae25
Merge pull request #10 from IRainman/dependabot/github_actions/github…
IRainman Dec 24, 2025
65810eb
* enable warning in GCC because PVS-Studio are also detect this. This…
IRainman Dec 24, 2025
0838651
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Dec 24, 2025
f42c880
* enable warning in GCC because PVS-Studio are also detect this. This…
IRainman Dec 24, 2025
600f236
* Small optimization in code generation for auto vectorization.
IRainman Dec 25, 2025
7041f91
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Dec 25, 2025
b7fb05b
* Added additional compile option FASTFLOAT_TABLE_HACK_CHAR_DIGIT_LUT…
IRainman Dec 25, 2025
2aba168
* optimize layout of the parsed_number_string_t.
IRainman Dec 25, 2025
a8c78f4
unfck lint.
IRainman Dec 25, 2025
e88d9ae
FASTFLOAT_HAS_BYTESWAP cleanup.
IRainman Dec 25, 2025
325c723
MSVC compilation fix.
IRainman Dec 25, 2025
9ff1624
small fix.
IRainman Dec 25, 2025
074fdea
small fix
IRainman Dec 25, 2025
be46835
fix for biodegradable code in doctest.
IRainman Dec 25, 2025
cdabfe4
# constexpr noexcept
IRainman Dec 25, 2025
d07362c
Final review for a more simple merge.
IRainman Dec 25, 2025
350ad6e
unfck lint
IRainman Dec 25, 2025
c119cdd
revert workflows.
IRainman Dec 25, 2025
0d36a01
Doctest DOCTEST_CONFIG_SUPER_FAST_ASSERTS
IRainman Dec 25, 2025
54d1f5a
fucking lint
IRainman Dec 25, 2025
5652a16
Update the Readme with fmt to the high performance example.
IRainman Dec 26, 2025
3ae10ee
Enhance README with compiler optimization details
IRainman Dec 26, 2025
8a518f4
am_pow_t is probably needs to be 64 bit because some hard coded value…
IRainman Dec 26, 2025
7ce5343
try again. need test refactoring.
IRainman Dec 26, 2025
6cefbb5
remove format.cmd: use IDE.
IRainman Dec 27, 2025
3745f4b
* documentation in the code updated, fixed errors with parsing some s…
IRainman Dec 27, 2025
2260580
fix compilation error in uint8_t parsing.
IRainman Dec 27, 2025
fb1e92c
code cleanup and type usage fixes.
IRainman Dec 27, 2025
812d89e
type usage fixes.
IRainman Dec 27, 2025
c1265cf
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Dec 28, 2025
62bc4b4
type usage fixes.
IRainman Dec 28, 2025
59c873d
cleanup.
IRainman Dec 28, 2025
5bc9637
type usage fixes.
IRainman Dec 28, 2025
5c6a6c2
type usage fixes.
IRainman Dec 28, 2025
8f49511
noexcept
IRainman Dec 28, 2025
489703f
type usage fixes.
IRainman Dec 28, 2025
37152ea
type usage fixes.
IRainman Dec 28, 2025
054004f
cleanup and type usage fixes.
IRainman Dec 28, 2025
ebc2ee8
optimization for the report_parse_error.
IRainman Dec 28, 2025
dad07cc
initialization cleanup and improve caches usage.
IRainman Dec 29, 2025
59da568
type usage fix.
IRainman Dec 29, 2025
5857b98
some warnings fix in CI builds.
IRainman Dec 29, 2025
a28e112
initialization cleanup.
IRainman Dec 29, 2025
38d0ab3
initialization cleanup.
IRainman Dec 29, 2025
147cf3b
type usage fix and cleanup.
IRainman Dec 29, 2025
351e4d3
type usage fixes.
IRainman Dec 29, 2025
35bca9c
type usage fixes.
IRainman Dec 29, 2025
0d42336
type usage fixes.
IRainman Dec 29, 2025
8330f85
type usage fixes.
IRainman Dec 29, 2025
611cd92
type usage fixes.
IRainman Dec 29, 2025
f4cae22
type usage fix.
IRainman Dec 29, 2025
9a0fa47
cleanup.
IRainman Dec 29, 2025
f556a68
cleanup.
IRainman Dec 29, 2025
41d9632
interface cleanup.
IRainman Dec 29, 2025
8f79501
* small cleanup in the tests/basictest.cpp
IRainman Dec 29, 2025
7ca9c84
type usage fixes.
IRainman Dec 29, 2025
f92d7fb
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Dec 29, 2025
2423180
cleanup
IRainman Dec 29, 2025
051d151
small performance improvement after full cleanup.
IRainman Dec 29, 2025
cd61547
FASTFLOAT_HAS_BIT_CAST fix for old standards.
IRainman Dec 29, 2025
fcdb586
cleanup in the API.
IRainman Dec 29, 2025
3d69a95
type usage fix.
IRainman Dec 29, 2025
f9bac93
type usage fix.
IRainman Dec 29, 2025
4910698
added compilation flags to the bench ip.
IRainman Dec 29, 2025
ba656ac
improvements in the code generation for byteswap and leading_zero to …
IRainman Dec 30, 2025
48abeeb
byteswap isn't compiling properly, no nay crutches that I try not hel…
IRainman Dec 30, 2025
61c7b53
small update for benchmark.
IRainman Dec 30, 2025
f5d44c7
compilation fix.
IRainman Dec 30, 2025
b28862b
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Jan 13, 2026
299c274
copy-past fix and type usage fixes.
IRainman Jan 13, 2026
21d4ce1
Fixes for FASTFLOAT_IS_BIG_ENDIAN after PR #359 is added to original.
IRainman Jan 13, 2026
c3a14e6
cleanup and fix for uint8_t and uint16_t parsing.
IRainman Jan 14, 2026
8ac483a
fix for integer_times_pow10.
IRainman Jan 14, 2026
5b1291b
Fix for parse_int_string, not all compilers work properly.
IRainman Jan 14, 2026
44606ae
nope, my implementation is fine. Needs compilers and tests check:
IRainman Jan 14, 2026
c4fc2ba
try to cleanup crutches: it's not needed anymore?
IRainman Jan 14, 2026
5e6dab2
workaround needs for both gcc and clang.
IRainman Jan 14, 2026
63b882e
fix for parse_int_string.
IRainman Jan 14, 2026
a8ef3f9
cleanup. all others bug in the compilers or in the workflows.
IRainman Jan 14, 2026
5631567
cleanup.
IRainman Jan 14, 2026
199c0fd
Update CI badge and add CodeFactor badge
IRainman Jan 20, 2026
fae37d7
Update README badges for Ubuntu 24.04
IRainman Jan 20, 2026
1f0c6c3
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Jan 20, 2026
e3cf45f
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Jan 20, 2026
4b6689b
Bump the github-actions group across 1 directory with 2 updates
dependabot[bot] Jan 20, 2026
44bb42b
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Jan 20, 2026
7ec5fc4
Cleanup after merge.
IRainman Jan 20, 2026
dc4e02e
unfck lint.
IRainman Jan 20, 2026
ce5ec31
Merge pull request #13 from IRainman/dependabot/github_actions/github…
IRainman Jan 20, 2026
0471b05
harder code optimization ;) also in the test that show the error.
IRainman Jan 20, 2026
654d721
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Jan 20, 2026
58bfb03
cleanup test for the best compilation and more aggressive optimizatio…
IRainman Jan 20, 2026
3b7dc1e
cleanup, unfortunately, the patch isn't correct. fastfloat_strncasecm…
IRainman Jan 20, 2026
f9e2220
review of the fastfloat_strncasecmp3 fastfloat_strncasecmp5 fastfloat…
IRainman Jan 20, 2026
856047b
gcc build fix
IRainman Jan 20, 2026
060c331
include fix.
IRainman Jan 20, 2026
155be7d
cleanup.
IRainman Jan 20, 2026
306f7ea
fix for old C++ standard in test.
IRainman Jan 20, 2026
7eab293
fix for old C++ standard in library.
IRainman Jan 20, 2026
52cd6d9
fix for old standard.
IRainman Jan 20, 2026
58b805d
Add CI badges for various platforms in README
IRainman Jan 20, 2026
2a092b4
fix for gcc.
IRainman Jan 20, 2026
89c69ca
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Jan 20, 2026
a9d84bb
style cleanup.
IRainman Jan 21, 2026
6d6acd4
update for copy-pasted tests. meh. needs cleanup.
IRainman Jan 21, 2026
4a0bd5e
unfck lint
IRainman Jan 21, 2026
4ca0df8
isolate clang crutch.
IRainman Jan 21, 2026
b6db81d
unfck lint
IRainman Jan 21, 2026
c4a979f
tests cleanup
IRainman Jan 21, 2026
a592697
Merge branch 'fastfloat:main' into main
IRainman Jan 23, 2026
16fa316
Bump actions/checkout from 6.0.1 to 6.0.2 in the github-actions group
dependabot[bot] Jan 26, 2026
3695153
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Feb 3, 2026
6bc8902
Merge pull request #14 from IRainman/dependabot/github_actions/github…
IRainman Feb 3, 2026
a2774ae
Merge branch 'fastfloat:main' into main
IRainman Mar 4, 2026
1d3332e
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Mar 26, 2026
a3a7068
Bump jidicula/clang-format-action
dependabot[bot] Mar 26, 2026
adb847e
Compilation fix for Ubuntu 24.04, updated docs.
IRainman Mar 26, 2026
5871479
Merge pull request #18 from IRainman/dependabot/github_actions/github…
IRainman Mar 26, 2026
4c2aff6
Bump mymindstorm/setup-emsdk from 14 to 15 in the github-actions group
dependabot[bot] Apr 6, 2026
ca9561f
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Apr 8, 2026
2effdbf
Add VS18 workflows
IRainman Apr 8, 2026
6c0a9f0
Merge pull request #19 from IRainman/dependabot/github_actions/github…
IRainman Apr 8, 2026
fe197c7
Update README.md
IRainman Apr 8, 2026
7ab7e1c
Update README.md
IRainman Apr 8, 2026
aa534f5
Update README.md
IRainman Apr 8, 2026
419341c
Update README.md
IRainman Apr 8, 2026
bf20c70
Update README.md
IRainman Apr 10, 2026
ade9c66
Bump the github-actions group across 1 directory with 2 updates
dependabot[bot] Apr 27, 2026
d3beb7b
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Apr 29, 2026
96b41d4
Merge pull request #21 from IRainman/dependabot/github_actions/github…
IRainman Apr 29, 2026
43c9d18
HedgehogInTheCPP 8.2.5 version.
IRainman Apr 29, 2026
3ed8a17
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Apr 29, 2026
40619c0
Added PVS-Studio.
IRainman Apr 29, 2026
f66d277
Fixed issues found by PVS-Studio
IRainman Apr 29, 2026
482ce3b
small performance fix.
IRainman Apr 29, 2026
71bd4e8
cleanup.
IRainman Apr 30, 2026
eef7133
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Jul 5, 2026
cd4aafd
# alignment next step performance: original now perform my program te…
IRainman Jul 5, 2026
72d3f6c
* type usage fix in merged code
IRainman Jul 5, 2026
fa48089
* const fixes for merged code.
IRainman Jul 5, 2026
6859c24
Bump actions/checkout in the github-actions group across 1 directory
dependabot[bot] Jul 6, 2026
a08db83
Merge pull request #22 from IRainman/dependabot/github_actions/github…
IRainman Jul 6, 2026
85c9f84
* copy-past cleanup.
IRainman Jul 6, 2026
d949b35
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Jul 6, 2026
79ef210
# cleanup
IRainman Jul 6, 2026
a7a783c
# compilation fix after renaming
IRainman Jul 6, 2026
b6c9213
# cleanup
IRainman Jul 6, 2026
b3895bd
# cleanup
IRainman Jul 6, 2026
5324d7c
* added crutch for compilers that do not properly support constexpr if
IRainman Jul 6, 2026
8646b4f
# lin
IRainman Jul 6, 2026
b87a72e
Add CI badges for Visual Studio 2018 workflows
IRainman Jul 6, 2026
97368a0
* cleanup and optimize more.
IRainman Jul 7, 2026
b69cd82
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Jul 7, 2026
e1bc8fc
* cleanup and slightly optimize slower path.
IRainman Jul 7, 2026
7b9159a
* signed/unsigned mismatch fix.
IRainman Jul 7, 2026
5721996
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Jul 18, 2026
068e365
lindt unfck
IRainman Aug 2, 2026
b73cda5
* small cleanup for the long path
IRainman Aug 6, 2026
568a683
Bump actions/setup-node in the github-actions group across 1 directory
dependabot[bot] Aug 10, 2026
6bafea0
Merge branch 'fastfloat:main' into main
IRainman Aug 12, 2026
650282d
Merge pull request #23 from IRainman/dependabot/github_actions/github…
IRainman Aug 12, 2026
a847788
There's research on the very beginning stage.
IRainman Aug 13, 2026
6d5ca40
Enhance Alpine workflow with cache key
IRainman Aug 13, 2026
d33395a
cleanup.
IRainman Aug 13, 2026
1870ae7
* cleanup.
IRainman Aug 13, 2026
3ba6e19
lindt unfck
IRainman Aug 14, 2026
e2b6aa0
Remove Alpine CI badge from README
IRainman Aug 14, 2026
21592bb
cleanup unusual workflows until it's fixed in the main repository.
IRainman Aug 14, 2026
c302890
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Aug 14, 2026
6d6442a
lint unfck.
IRainman Aug 14, 2026
39b6b83
cleanup
IRainman Aug 16, 2026
d2f5be8
cleanup
IRainman Aug 17, 2026
936d284
small fix for constexpr
IRainman Aug 17, 2026
016e558
updating tests.
IRainman Aug 17, 2026
438aaad
Updated url's to my fork because I really want to use all GitHub acti…
IRainman Aug 17, 2026
a883161
cleanup
IRainman Aug 17, 2026
37d25dd
Continue rework of the FASTFLOAT_X86_SIMD realization: cleanup and im…
IRainman Aug 17, 2026
deada14
cleanup
IRainman Aug 17, 2026
5d65edb
added cross platform and cross compiler parse_digits_until_19 and cle…
IRainman Aug 17, 2026
da875ff
fixes for old standards.
IRainman Aug 17, 2026
8e954fa
fix
IRainman Aug 17, 2026
055f966
lint unfck
IRainman Aug 17, 2026
e3da508
fix.
IRainman Aug 17, 2026
32f5fe7
final fix.
IRainman Aug 17, 2026
734a038
lint unfck
IRainman Aug 17, 2026
371a224
fix
IRainman Aug 17, 2026
de5a796
Merge branch 'main' of https://github.com/fastfloat/fast_float this i…
IRainman Aug 17, 2026
1210ef9
Update clang-format action to version 4.19.0: lint unfck.
IRainman Aug 17, 2026
0a4330a
cleanup
IRainman Aug 17, 2026
cd6a33c
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Aug 17, 2026
ba00cca
Update clang-format action version to v4.18.0: lint unfck
IRainman Aug 17, 2026
0bc9aec
lint unfck
IRainman Aug 17, 2026
d6c779e
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Aug 17, 2026
5e7936a
cleanup
IRainman Aug 17, 2026
74cb2c6
return alpine workflow
IRainman Aug 17, 2026
39de145
constexpr fix.
IRainman Aug 17, 2026
63f648b
fix alpine workflow.
IRainman Aug 17, 2026
ee25fec
lint unfck
IRainman Aug 17, 2026
998f3eb
Downgrade setup-alpine action to version 2
IRainman Aug 17, 2026
8d15126
delete alpine: workflow completely broken.
IRainman Aug 17, 2026
97e5a8b
fix constexpr for old standards.
IRainman Aug 17, 2026
63aea71
latest try to fix compilation. After this I remove all outdated workf…
IRainman Aug 17, 2026
e9a7d66
additional noexcept and fix for constexpr
IRainman Aug 17, 2026
fe15d1a
try to fix alpine from scratch.
IRainman Aug 17, 2026
2aa1746
try to apply std everywhere is possible.
IRainman Aug 18, 2026
b2a54ac
cleanup and optimize SSE realization and remove test parsing overhead…
IRainman Aug 18, 2026
04cd21f
Fix compilation outside Visual Studio because clang and gcc doesn't h…
IRainman Aug 18, 2026
cce356d
cleanup more + reimplement cross compiler support and add more fastfl…
IRainman Aug 18, 2026
006cb32
cleanup more + reimplement cross compiler support and add more fastfl…
IRainman Aug 18, 2026
ac66935
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman Aug 18, 2026
262ed0c
lint unfck
IRainman Aug 18, 2026
bfbe4c4
FASTFLOAT_HAS_SIMD -> FASTFLOAT_USE_SIMD
IRainman Aug 18, 2026
4a71c11
improve error messages when type is unsupported.
IRainman Aug 19, 2026
f20dc6d
add scripts for manual code formatting.
IRainman Aug 19, 2026
0321ba2
lindt unfck
IRainman Aug 19, 2026
838088b
cleanup of functions naming, part2.
IRainman Aug 19, 2026
b5b9087
delete unusual scripts
IRainman Aug 19, 2026
e7a29e0
Documentation updated and hardware level detection cleanup.
IRainman Aug 20, 2026
add21b7
finalize and document parse_digits_until_19: it additionally slightly…
IRainman Aug 20, 2026
42eecf4
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman Aug 21, 2026
9e5fc26
big cleanup of 128bit multiplication.
IRainman Aug 21, 2026
33bf1b3
added 16 byte/chars step to the parse_mantissa.
IRainman Aug 21, 2026
67a98b0
lint unfck
IRainman Aug 21, 2026
f2a43a1
compilation fix for some configurations
IRainman Aug 21, 2026
8b851d9
additional cleanup for full_multiplication.
IRainman Aug 21, 2026
8351519
compilation fix for ancient standard. May be better to drop support f…
IRainman Aug 21, 2026
cbdea5e
fix constexpr for umul128.
IRainman Aug 21, 2026
8dc88f3
reduce data cache and registers pressure
IRainman Aug 21, 2026
a4d25eb
final cleanup for full / 128 bit multiplication
IRainman Aug 21, 2026
7c82411
constexpr fix
IRainman Aug 21, 2026
25e4481
constexpr fix for ancient standard.
IRainman Aug 21, 2026
6714db5
Improvements in detection of C++14 constexpr and C++20 consteval. I r…
IRainman Aug 21, 2026
ef2c7e6
Improvements detection of features, part 2.
IRainman Aug 21, 2026
2e86d4f
Improvements detection of features, part 3. CMake fixes... meh.
IRainman Aug 21, 2026
c16fa06
Improvements detection of features, part 4.
IRainman Aug 21, 2026
60734e0
Improvements detection of features, part 5.
IRainman Aug 21, 2026
d42564c
Improvements detection of features, part 6. Visual Studio 17 and 18 o…
IRainman Aug 21, 2026
363141f
Improvements detection of features, part 7. Visual Studio 17 naming fix.
IRainman Aug 21, 2026
ce06f10
fix for UTF-16 emoji parsing.
IRainman Aug 21, 2026
b61afb7
fix for ancient standard.
IRainman Aug 21, 2026
2a3b400
Improvements detection of features, part 9. Visual Studio 17 naming fix.
IRainman Aug 21, 2026
8cbb094
Improvements detection of features, part 10.
IRainman Aug 21, 2026
4304876
Improvements detection of features, part 11.
IRainman Aug 21, 2026
57cb772
final cleanup for full / 128 bit multiplication: constexpr fix, нахуй…
IRainman Aug 21, 2026
677cfe8
Improvements detection of features, part 12.
IRainman Aug 21, 2026
99cd715
fix for ancient standard.
IRainman Aug 21, 2026
e6d98ff
Ubuntu 22 clang update to 15 because it's fixed many C++20 compatibil…
IRainman Aug 21, 2026
7a66d0b
Improvements detection of features, part 13. Don't explicitly enable …
IRainman Aug 21, 2026
8e1725a
Ubuntu - говно мамонта.
IRainman Aug 21, 2026
24093f4
crystalline shit of mammoth has been deleted
IRainman Aug 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
We have benchmarks, please consider running them: [see our README for details](https://github.com/fastfloat/fast_float/blob/main/README.md#benchmarking). We expect you to run our benchmarks if you make claims with respect to the performance.
We have benchmarks, please consider running them: [see our README for details](https://github.com/irainman/fast_float/blob/main/README.md#benchmarking). We expect you to run our benchmarks if you make claims with respect to the performance.


Our CI tests check formatting automating. If such a test fails, please consider running the bash script:
Expand Down
32 changes: 24 additions & 8 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Alpine Linux

on:
- push
- pull_request
push:
pull_request:

jobs:
build:
name: Build on Alpine ${{ matrix.arch }}

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
arch:
- x86_64
Expand All @@ -16,32 +20,44 @@ jobs:
- armv7
- ppc64le
- riscv64

steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Install latest Alpine Linux for ${{ matrix.arch }}
- name: Install Alpine Linux for ${{ matrix.arch }}
uses: jirutka/setup-alpine@v1
with:
arch: ${{ matrix.arch }}
branch: ${{ matrix.arch == 'riscv64' && 'edge' || 'latest-stable' }}

# Keep CI reproducible.
# riscv64 currently uses edge because stable Alpine support
# for this architecture can lag behind the other architectures.
branch: ${{ matrix.arch == 'riscv64' && 'edge' || 'v3.23' }}

packages: >
build-base
cmake
g++
linux-headers
git
bash
build-base

- name: Prepare
run: |
cmake -DFASTFLOAT_TEST=ON -B build
cmake \
-DFASTFLOAT_TEST=ON \
-B build
shell: alpine.sh {0}

- name: Build
run: |
cmake --build build
shell: alpine.sh {0}

- name: Test
run: |
ctest --test-dir build -R basictest
ctest \
--test-dir build \
-R basictest \
--output-on-failure
shell: alpine.sh {0}
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
- name: Run clang-format
uses: jidicula/clang-format-action@654a770daa28443dd111d133e4083e21c1075674 # v4.18.0
with:
clang-format-version: '17'
clang-format-version: '18'

36 changes: 0 additions & 36 deletions .github/workflows/msys2-clang.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/msys2.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Ubuntu latest CI

on: [push, pull_request]

jobs:
ubuntu-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Use cmake
run: |
mkdir build &&
cd build &&
cmake -DFASTFLOAT_TEST=ON .. &&
cmake --build . &&
ctest --output-on-failure
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu22-clang.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ubuntu 22.04 CI (clang 14)
name: Ubuntu 22.04 CI (clang 15)

on: [push, pull_request]

Expand All @@ -7,19 +7,19 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v7
- name: Install clang++-14
run: sudo apt-get install -y clang++-14
- name: Install clang++-15
run: sudo apt-get install -y clang++-15
- name: Use cmake
run: |
mkdir build &&
cd build &&
CXX=clang++-14 cmake -DFASTFLOAT_TEST=ON .. &&
CXX=clang++-15 cmake -DFASTFLOAT_TEST=ON .. &&
cmake --build . &&
ctest --output-on-failure
- name: Use cmake CXX20
run: |
mkdir build20 &&
cd build20 &&
CXX=clang++-14 cmake -DFASTFLOAT_CONSTEXPR_TESTS=ON -DFASTFLOAT_CXX_STANDARD=20 -DFASTFLOAT_TEST=ON .. &&
CXX=clang++-15 cmake -DFASTFLOAT_CXX_STANDARD=20 -DFASTFLOAT_TEST=ON .. &&
cmake --build . &&
ctest --output-on-failure
8 changes: 4 additions & 4 deletions .github/workflows/vs17-arm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ on: [push, pull_request]
jobs:
ci:
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-latest
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Release}
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Debug}
- {gen: Visual Studio 17 2022, arch: ARM64, cfg: Release}
- {gen: Visual Studio 17 2022, arch: ARM64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v7
- name: configure
run: |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_CROSSCOMPILING=1 -DFASTFLOAT_TEST=ON
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_CROSSCOMPILING=1 -DFASTFLOAT_CXX_STANDARD=14 -DFASTFLOAT_TEST=ON
- name: build
run: |
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/vs17-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on: [push, pull_request]
jobs:
ci:
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-latest
runs-on: windows-2022
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}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v7
- name: configure
run: |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_BENCHMARKS=ON -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_CXX_STANDARD=14 -DFASTFLOAT_BENCHMARKS=ON -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination
- name: build
run: |
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/vs17-clang-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on: [push, pull_request]
jobs:
ci:
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-latest
runs-on: windows-2022
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}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v7
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/vs17-cxx20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on: [push, pull_request]
jobs:
ci:
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-latest
runs-on: windows-2022
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}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v7
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/vs18-arm-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: VS18-ARM-CI

on: [push, pull_request]

jobs:
ci:
name: vs18/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-2025
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Release}
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v7
- name: configure
run: |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_CROSSCOMPILING=1 -DFASTFLOAT_CXX_STANDARD=14 -DFASTFLOAT_TEST=ON
- name: build
run: |
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
# disabled because it requires a toolchain
#- name: test
# run: |
# cd build &&
# ctest --output-on-failure -C ${{matrix.cfg}}
43 changes: 43 additions & 0 deletions .github/workflows/vs18-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: VS18-CI

on: [push, pull_request]

jobs:
ci:
name: vs18/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-2025
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@v7
- name: configure
run: |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_CXX_STANDARD=14 -DFASTFLOAT_BENCHMARKS=OFF -DFASTFLOAT_TEST=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}}
- name: install
run: |
cd build &&
cmake --install .
- name: test install (find)
run: |
cd tests/installation_tests/find &&
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination &&
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
- name: test install (issue 72)
run: |
cd tests/installation_tests/issue72_installation &&
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination &&
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
Loading