mirror of
https://github.com/boostorg/ratio.git
synced 2026-02-23 03:52:17 +00:00
[CMake] Use correct toolchain on travis
This commit is contained in:
@@ -313,7 +313,8 @@ script:
|
||||
- |-
|
||||
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
|
||||
- ./b2 libs/ratio/test toolset=$TOOLSET
|
||||
- mkdir __wsl__ && cd __wsl__
|
||||
- mkdir __build__ && cd __build__
|
||||
- export CXX=$COMPILER
|
||||
- cmake -DBOOST_RATIO_INCLUDE_TESTS=ON ../libs/ratio/test/test_cmake
|
||||
- cmake --build .
|
||||
- ctest .
|
||||
|
||||
@@ -39,8 +39,8 @@ build: off
|
||||
|
||||
test_script:
|
||||
- b2 libs/ratio/test toolset=%TOOLSET%
|
||||
- mkdir __wsl__
|
||||
- cd __wsl__
|
||||
- mkdir __build__
|
||||
- cd __build__
|
||||
- cmake -DBOOST_RATIO_INCLUDE_TESTS=ON ../libs/ratio/test/test_cmake
|
||||
- cmake --build .
|
||||
- ctest .
|
||||
|
||||
Reference in New Issue
Block a user