From 03fe0d5b2794e272a91df7b3314d238317deb848 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 19 Mar 2021 11:08:08 +0100 Subject: [PATCH] ci: bash set as a shell for all run actions --- .github/workflows/ci-test-package-cmake.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index 03ffdb31..a7382937 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -129,6 +129,7 @@ jobs: with: python-version: '3.8' - name: Install Conan + shell: bash run: | pip install -U conan - name: Configure Conan @@ -149,27 +150,33 @@ jobs: run: | sed -i -e 's/"8", "9", "10", "11"]/"8", "9", "10", "11", "12"]/' ~/.conan/settings.yml - name: Install Conan dependencies + shell: bash run: | mkdir -p build/${{ matrix.build_type }} && cd build/${{ matrix.build_type }} conan install ../.. -b outdated -u - name: Configure mp-units CMake + shell: bash + working-directory: build/${{ matrix.build_type }} run: | - cd build/${{ matrix.build_type }} cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake - name: Install mp-units + shell: bash + working-directory: build/${{ matrix.build_type }} run: | - cd build/${{ matrix.build_type }} cmake --install . --prefix test_package - name: Configure test_package CMake + shell: bash run: | mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }} conan install ../../.. 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: | - cd test_package/build/${{ matrix.build_type }} cmake --build . - name: Run test_package + shell: bash + working-directory: test_package/build/${{ matrix.build_type }} run: | - cd test_package/build/${{ matrix.build_type }} ./test_package