From 9d4ea8a8bf7073c0611a2ec1697c6cc51875e5bd Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 29 Apr 2021 20:57:36 +0200 Subject: [PATCH] ci: test_package configure and build moved to one step --- .github/workflows/ci-test-package-cmake.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index eb8871fe..be5e46f7 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -172,23 +172,20 @@ jobs: run: | mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }} conan install ../../.. - - name: Configure test_package CMake + - name: Build test_package CMake if: matrix.config.compiler.type == 'VISUAL' shell: cmd working-directory: test_package/build/${{ matrix.build_type }} run: | call conanvcvars.bat cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package - - name: Configure test_package CMake + cmake --build . + - name: Build test_package CMake if: matrix.config.compiler.type != 'VISUAL' shell: bash working-directory: test_package/build/${{ matrix.build_type }} run: | cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package - - name: Build test_package - shell: bash - working-directory: test_package/build/${{ matrix.build_type }} - run: | cmake --build . - name: Run test_package shell: bash