mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Update and fix CMake test jobs
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -410,7 +410,6 @@ jobs:
|
|||||||
if: matrix.cmake_tests != ''
|
if: matrix.cmake_tests != ''
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root
|
cd ../boost-root
|
||||||
export CMAKE_TEST=1
|
|
||||||
mkdir __build_cmake_test__ && cd __build_cmake_test__
|
mkdir __build_cmake_test__ && cd __build_cmake_test__
|
||||||
cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=$LIBRARY ..
|
cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=$LIBRARY ..
|
||||||
cmake --build . --target tests
|
cmake --build . --target tests
|
||||||
@ -419,9 +418,8 @@ jobs:
|
|||||||
- name: Run CMake subdir tests
|
- name: Run CMake subdir tests
|
||||||
if: matrix.cmake_tests != ''
|
if: matrix.cmake_tests != ''
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root
|
cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test
|
||||||
export CMAKE_SUBDIR_TEST=1
|
mkdir __build_cmake_subdir_test__ && cd __build_cmake_subdir_test__
|
||||||
cd libs/$LIBRARY/test/cmake_subdir_test && mkdir __build_cmake_subdir_test__ && cd __build_cmake_subdir_test__
|
|
||||||
cmake ..
|
cmake ..
|
||||||
cmake --build .
|
cmake --build .
|
||||||
cmake --build . --target check
|
cmake --build . --target check
|
||||||
@ -430,11 +428,11 @@ jobs:
|
|||||||
if: matrix.cmake_tests != ''
|
if: matrix.cmake_tests != ''
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root
|
cd ../boost-root
|
||||||
export CMAKE_INSTALL_TEST=1
|
|
||||||
mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__
|
mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__
|
||||||
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DCMAKE_INSTALL_PREFIX=~/.local ..
|
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
cmake --build . --target install
|
cmake --build . --target install
|
||||||
cd libs/$LIBRARY/test/cmake_install_test && mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__
|
cd ../libs/$LIBRARY/test/cmake_install_test
|
||||||
|
mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
cmake --build .
|
cmake --build .
|
||||||
cmake --build . --target check
|
cmake --build . --target check
|
||||||
|
Reference in New Issue
Block a user