File tree 3 files changed +22
-3
lines changed
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)
2
2
3
3
on : [push, pull_request]
4
4
26
26
cd ../tests/installation_tests/find &&
27
27
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . &&
28
28
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)
2
2
3
3
project (fast_float VERSION 2.0.0 LANGUAGES CXX)
4
4
option (FASTFLOAT_TEST "Enable tests" OFF )
5
- set (CMAKE_CXX_STANDARD 11)
5
+ set (CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard to be used" )
6
6
set (CMAKE_CXX_STANDARD_REQUIRED ON )
7
7
if (FASTFLOAT_TEST)
8
8
enable_testing ()
You can’t perform that action at this time.
0 commit comments