Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent f327efb commit 3bd5295
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >
Expand All @@ -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).
Expand Down

0 comments on commit 3bd5295

Please sign in to comment.