未验证 提交 c1aa771e 编写于 作者: 羽飞's avatar 羽飞 提交者: GitHub

Update build.yml

上级 4c180821
...@@ -9,7 +9,6 @@ on: ...@@ -9,7 +9,6 @@ on:
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release BUILD_TYPE: Release
DEPS_PREFIX: /usr/local/
jobs: jobs:
build: build:
...@@ -25,7 +24,7 @@ jobs: ...@@ -25,7 +24,7 @@ jobs:
submodules: recursive submodules: recursive
- name: build deps/googletest - name: build deps/googletest
run: cmake -DCMAKE_INSTALL_PREFIX=${{env.DEPS_PREFIX}} -B ${{github.workspace}}/deps/googletest/build -S ${{github.workspace}}/deps/googletest && cmake --build ${{github.workspace}}/deps/googletest/build --config ${{env.BUILD_TYPE}} --target install run: cmake -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -B ${{github.workspace}}/deps/googletest/build -S ${{github.workspace}}/deps/googletest && cmake --build ${{github.workspace}}/deps/googletest/build --config ${{env.BUILD_TYPE}} --target install
- name: Configure CMake - 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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册