diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index fae1508..c012dbf 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -60,7 +60,7 @@ jobs: - name: Install dependencies run: cd proxy; chmod +x ./install_dependencies_debian.sh; ./install_dependencies_debian.sh - - name: Run build script + - 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: > @@ -70,9 +70,12 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DOPENSSL_ROOT_DIR=${{ github.workspace }}/proxy/libs/$(uname -s)/$(uname -r|cut -d - -f 3)/openssl -DBOOST_ROOT=${{ github.workspace }}/proxy/libs/$(uname -s)/$(uname -r|cut -d - -f 3)/boost - -S ${{ github.workspace }}/proxy + - name: Build + # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). + run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + - name: Test working-directory: ${{ steps.strings.outputs.build-output-dir }} # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).