Skip to content

Commit cdae8a0

Browse files
committed
test for amalgamation
1 parent f900953 commit cdae8a0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Amalgamate Ubuntu 20.04 CI (GCC 9, 8)
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ubuntu-build:
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
include:
12+
# Legacy/x86 compilers cause CI failures.
13+
#- {cxx: -DCMAKE_CXX_COMPILER=g++-8, arch: }
14+
- {cxx: , arch: } # default=gcc9
15+
#- {cxx: , arch: -DCMAKE_CXX_FLAGS="-m32"} # default=gcc9
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Compile with amalgamation
19+
run: |
20+
mkdir build &&
21+
mkdir build/fast_float &&
22+
python3 ./scripts/amalgamate.py > build/fast_float/fast_float.h &&
23+
cp tests/string_test.cpp build/ &&
24+
cd build &&
25+
g++ string_test.cpp

0 commit comments

Comments
 (0)