File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Ubuntu 20.04 CI (C++20)
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+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Use cmake
13+ run : |
14+ mkdir build &&
15+ cd build &&
16+ cmake -DCMAKE_CXX_STANDARD=20 -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. &&
17+ cmake --build . &&
18+ ctest --output-on-failure &&
19+ cmake --install .
Original file line number Diff line number Diff line change 1- name : Ubuntu 20.04 CI (GCC 9, 8 )
1+ name : Ubuntu 20.04 CI (GCC 9)
22
33on : [push, pull_request]
44
2626 cd ../tests/installation_tests/find &&
2727 mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . &&
2828 cd ../../issue72_installation &&
29- mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
29+ mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9)
22
33project (fast_float VERSION 2.0.0 LANGUAGES CXX)
44option (FASTFLOAT_TEST "Enable tests" OFF )
5- set (CMAKE_CXX_STANDARD 11)
5+ set (CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard to be used" )
66set (CMAKE_CXX_STANDARD_REQUIRED ON )
77if (FASTFLOAT_TEST)
88 enable_testing ()
You can’t perform that action at this time.
0 commit comments