diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7db562c..cb0521b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -47,7 +47,13 @@ jobs: - name: Create Build Environment run: cmake -E make_directory ${{ runner.workspace }}/build - - name: Configure CMake + - name: Configure CMake (macos) + if: runner.os == 'MacOS' + working-directory: ${{ github.workspace }}/build + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + + - name: Configure CMake (windows) + if: runner.os == 'Windows' shell: bash working-directory: ${{ runner.workspace }}/build run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE