Update cmake.yml
This commit is contained in:
parent
926871038c
commit
e7d879fb7b
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'
|
if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'
|
||||||
|
|
||||||
- name: Configure CMake and Build
|
- name: Configure CMake
|
||||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEXECUTABLE_OUTPUT_PATH=${{env.EXECUTABLE_OUTPUT_PATH}}
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEXECUTABLE_OUTPUT_PATH=${{env.EXECUTABLE_OUTPUT_PATH}}
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
run: cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 2
|
run: cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 2
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'
|
if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'
|
||||||
|
|
||||||
- name: Configure CMake (Windows)
|
- name: Configure CMake & Build Binary(Windows)
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
|
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user