Fix windows cmake

This commit is contained in:
Vincent Stumpf 2023-06-11 05:03:44 +00:00
parent 258a8e6be0
commit 26dee6891b

View File

@ -40,15 +40,10 @@ jobs:
run: cmake -E make_directory ${{github.workspace}}/build run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake - name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build
run: cmake ..
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build
- name: Build - name: Build
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>" # Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . run: cmake --build .