mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
864 B
YAML
30 lines
864 B
YAML
name: Ubuntu 24.04 CI (GCC 13)
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- 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 )
|