From cffaabead8c076c3a1a62a63033ab025ef578780 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 14 Sep 2021 18:49:03 +0300 Subject: [PATCH] Update and fix CMake test jobs --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04e03fb..63d18a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -410,7 +410,6 @@ jobs: if: matrix.cmake_tests != '' run: | cd ../boost-root - export CMAKE_TEST=1 mkdir __build_cmake_test__ && cd __build_cmake_test__ cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=$LIBRARY .. cmake --build . --target tests @@ -419,9 +418,8 @@ jobs: - name: Run CMake subdir tests if: matrix.cmake_tests != '' run: | - cd ../boost-root - export CMAKE_SUBDIR_TEST=1 - cd libs/$LIBRARY/test/cmake_subdir_test && mkdir __build_cmake_subdir_test__ && cd __build_cmake_subdir_test__ + cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test + mkdir __build_cmake_subdir_test__ && cd __build_cmake_subdir_test__ cmake .. cmake --build . cmake --build . --target check @@ -430,11 +428,11 @@ jobs: if: matrix.cmake_tests != '' run: | cd ../boost-root - export CMAKE_INSTALL_TEST=1 mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__ cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DCMAKE_INSTALL_PREFIX=~/.local .. 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 --build . cmake --build . --target check