1
0

Update cmake.yml

This commit is contained in:
Saturn&Eric 2021-06-20 21:40:03 +08:00 committed by GitHub
parent 926871038c
commit e7d879fb7b

View File

@ -61,7 +61,7 @@ jobs:
cd ..
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.
# 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}}
@ -72,7 +72,7 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 2
if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'
- name: Configure CMake (Windows)
- name: Configure CMake & Build Binary(Windows)
shell: msys2 {0}
run: |
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')