From 10af1ab1f2aead39c3ed60f3bbe8a5f75c7a4f22 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Mon, 8 Mar 2021 14:45:51 +0400 Subject: [PATCH] Use msys shell for msys builds. --- .github/workflows/cmake.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8843516..f32a761 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -64,10 +64,12 @@ jobs: mingw-w64-${{ matrix.arch }}-make - name: Create Build Directory + shell: msys2 {0} run: cmake -E make_directory ${{runner.workspace}}/build - name: Configure CMake working-directory: ${{runner.workspace}}/build + shell: msys2 {0} run: >- cmake $GITHUB_WORKSPACE -DAPP_BUILD_EXAMPLES=ON @@ -76,6 +78,7 @@ jobs: -DCMAKE_BUILD_TYPE=$BUILD_TYPE - name: Build + shell: msys2 {0} working-directory: ${{runner.workspace}}/build run: cmake --build . --config $BUILD_TYPE