From 1577e05d655fad82e03811eb85e28c6cb83b4f41 Mon Sep 17 00:00:00 2001 From: Mate Soos Date: Fri, 12 Apr 2024 04:27:08 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c83dbb..778f3bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,7 @@ jobs: git clone --depth 1 https://github.com/msoos/cryptominisat cd cryptominisat mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} .. + cmake -DCMAKE_BUILD_TYPE=${{env.build_type}} .. cmake --build . cd ../.. @@ -103,15 +103,15 @@ jobs: - 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}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.build_type}} - name: Build # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + run: cmake --build ${{github.workspace}}/build --config ${{env.build_type}} - name: Test working-directory: ${{github.workspace}}/build # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C ${{env.BUILD_TYPE}} + run: ctest -C ${{env.build_type}}