Browse Source

Fix windows cmake

Vincent Stumpf 1 năm trước cách đây
mục cha
commit
26dee6891b
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 1 6
      .github/workflows/build_servers_cmake.yml

+ 1 - 6
.github/workflows/build_servers_cmake.yml

@@ -40,15 +40,10 @@ jobs:
         run: cmake -E make_directory ${{github.workspace}}/build
 
       - 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
-
-        run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build
+        run: cmake ..
 
       - name: Build
         working-directory: ${{github.workspace}}/build
-        shell: bash
         # Execute the build.  You can specify a specific target with "--target <NAME>"
         run: cmake --build .