Skip to content

Commit

Permalink
use different cmake version
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Dec 23, 2023
1 parent da22c3f commit 1634987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
wget --output-document=/tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v${{ steps.strings.outputs.cmake-version }}/cmake-${{ steps.strings.outputs.cmake-version }}-linux-x86_64.sh
sudo mkdir ${{ steps.strings.outputs.cmake-install-dir }}
sudo sh /tmp/cmake.sh --skip-license --prefix=${{ steps.strings.outputs.cmake-install-dir }}
sudo ln -s ${{ steps.strings.outputs.cmake-install-dir }}/bin/cmake /usr/local/bin/cmake
sudo ln -s ${{ steps.strings.outputs.cmake-install-dir }}/bin/cmake /usr/local/bin/cmake-${{ steps.strings.outputs.cmake-version }}
- name: Cache Hunter Dependencies
uses: actions/cache@v3.3.2
Expand All @@ -71,8 +71,8 @@ jobs:
# 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 --version;
cmake -B ${{ steps.strings.outputs.build-output-dir }}
cmake-${{ steps.strings.outputs.cmake-version }} --version;
cmake-${{ steps.strings.outputs.cmake-version }} -B ${{ steps.strings.outputs.build-output-dir }}
${{ matrix.cmake_options }}
-DCMAKE_CONFIGURATION_TYPES=Release
-DFINAL_VERSION=OFF
Expand Down

0 comments on commit 1634987

Please sign in to comment.