From: Michael Wallner Date: Thu, 17 Dec 2020 13:42:17 +0000 (+0100) Subject: ci: gh-action windows fixes X-Git-Tag: 1.1.0-beta1~41 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7b2f2e654da6fc69e980db007f2ac1d28e675053;p=awesomized%2Flibmemcached ci: gh-action windows fixes --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 7fdb74ac..06bc0383 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -188,11 +188,12 @@ function steps_test() { ?> - name: Test if: env.BUILD_TESTING == 'ON' - run: | - cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j2 --target test - cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j2 --target install -- DESTDIR=/tmp + run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} -j2 --target test + - name: Install + if: env.BUILD_TESTING == 'ON' + run: cmake --install build --config ${{ env.CMAKE_BUILD_TYPE }} -j2 --prefix /tmp - name: Failed tests log - if: ${{ failure() }} + if: ${{ env.BUILD_TESTING == 'ON' && failure() }} run: cat build/Testing/Temporary/LastTest.log || true