mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-28 18:07:16 +08:00
21 lines
491 B
YAML
21 lines
491 B
YAML
name: Amalgamate Ubuntu CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-latest
|
|
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
|