fast_float/.github/workflows/amalgamate-ubuntu24.yml
Daniel Lemire 12e310aa8f Avoid old-style casts
Replace C-style casts with static_cast/const_cast so -Wold-style-cast
is clean, and enable that warning in the Unix test builds and the
amalgamated-header CI job.
2026-08-20 13:30:32 -04:00

18 lines
465 B
YAML

name: Amalgamate Ubuntu 24.04 CI
on: [push, pull_request]
jobs:
ubuntu-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Compile with amalgamation
run: |
mkdir build &&
mkdir build/fast_float &&
python3 ./script/amalgamate.py > build/fast_float/fast_float.h &&
cp tests/string_test.cpp build/ &&
cd build &&
g++ -Werror=old-style-cast string_test.cpp