forked from fastfloat/fast_float
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 864 Bytes
/
ubuntu24.yml
File metadata and controls
29 lines (27 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Ubuntu 24.04 CI (GCC 13)
on: [push, pull_request]
jobs:
ubuntu-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Use cmake
run: |
set -xe
cmake -B build \
-DFASTFLOAT_TEST=ON \
-DFASTFLOAT_BENCHMARKS=ON \
-DCMAKE_CXX_FLAGS=' -Werror -Wundef '
cmake --build build --parallel
( cd build ; ctest --output-on-failure )
- name: Use cmake CXX23
run: |
set -xe
cmake -B build20 \
-DFASTFLOAT_TEST=ON \
-DFASTFLOAT_CONSTEXPR_TESTS=ON \
-DFASTFLOAT_FIXEDWIDTH_TESTS=ON \
-DFASTFLOAT_CXX_STANDARD=23 \
-DCMAKE_CXX_FLAGS=' -Werror -Wundef '
cmake --build build20 --parallel
( cd build20 ; ctest --output-on-failure )