From 7c7cad10322695a1930931eef4149aab1650cfcf Mon Sep 17 00:00:00 2001 From: wangyunlai Date: Thu, 20 Oct 2022 14:39:17 +0800 Subject: [PATCH] Update build.yml build googletest --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8090b1..3cd9946 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,9 @@ jobs: uses: actions/checkout@v2 with: submodules: recursive + + - name: build deps/googletest + run: cmake -B ${{github.workspace}}/deps/googletest/build -S ${{github.workspace}}/deps/googletest && cmake --build ${{github.workspace}}/deps/googletest/build --config ${{env.BUILD_TYPE}} && cmake --install-prefix=/usr/ --install - 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. -- GitLab