From 084ed1f9eb3a0d0e1e378aa7a8dcbc1039e07c0a Mon Sep 17 00:00:00 2001 From: robbietu <77134559+robbietu@users.noreply.github.com> Date: Fri, 16 Jun 2023 10:05:51 +0800 Subject: [PATCH] Update cmake.yml --- .github/workflows/cmake.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e282e3891..225a62693 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,14 +20,17 @@ jobs: steps: - uses: actions/checkout@v2 - + + - name: Set up Boost + run: sudo apt-get install -y libboost-all-dev + - 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}} - name: Build - # Build your program with the given configuration + # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Test