Merge pull request #274 from BYVoid/bazel #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu 24.04 CI (GCC 13) | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use cmake | |
run: | | |
mkdir build && | |
cd build && | |
CXXFLAGS=-Werror cmake -DFASTFLOAT_TEST=ON .. && | |
cmake --build . && | |
ctest --output-on-failure | |
- name: Use cmake CXX23 | |
run: | | |
mkdir build20 && | |
cd build20 && | |
CXXFLAGS=-Werror cmake -DFASTFLOAT_CONSTEXPR_TESTS=ON -DFASTFLOAT_FIXEDWIDTH_TESTS=ON -DFASTFLOAT_CXX_STANDARD=23 -DFASTFLOAT_TEST=ON .. && | |
cmake --build . && | |
ctest --output-on-failure |