From 98b96cdeb2a9be1c348e5dcb56541c0165252ecf Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Mon, 8 Mar 2021 18:06:30 +0400 Subject: [PATCH] Updated github workflow. --- .github/workflows/cmake.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index aa4ea92..2caf8a3 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -68,13 +68,15 @@ jobs: run: cmake -E make_directory ${{runner.workspace}}\build - name: Configure CMake - working-directory: ${{runner.workspace}}\build - shell: bash + working-directory: ${{runner.workspace}} + shell: msys2 {0} run: >- - cmake ${{runner.workspace}} + cmake -B build -S . -G "MSYS Makefiles" .. + -DCMAKE_MAKE_PROGRAM=mingw32-make -DAPP_BUILD_EXAMPLES=ON -DAPP_BUILD_TESTS=ON -DAPP_COMPILER_ENABLE_WARNINGS=ON + -DCMAKE_BUILD_TYPE=$BUILD_TYPE - name: Build shell: msys2 {0}