Skip to content

Commit

Permalink
Bump CMake to 3.28.3 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garethsb committed Feb 16, 2024
1 parent 8877ec3 commit 0c0ae88
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,13 @@ jobs:
run: |
pip install conan~=2.0.5
- name: 'ubuntu-14.04: install cmake'
if: matrix.os == 'ubuntu-14.04'
uses: lukka/get-cmake@v3.17.3

- name: install cmake
uses: lukka/get-cmake@v3.24.2
if: matrix.os != 'ubuntu-14.04'
uses: lukka/get-cmake@3.28.3

- name: setup bash path
working-directory: ${{ env.GITHUB_WORKSPACE }}
Expand Down Expand Up @@ -674,8 +679,13 @@ jobs:
run: |
pip install conan~=2.0.5
- name: 'ubuntu-14.04: install cmake'
if: matrix.os == 'ubuntu-14.04'
uses: lukka/get-cmake@v3.17.3

- name: install cmake
uses: lukka/get-cmake@v3.24.2
if: matrix.os != 'ubuntu-14.04'
uses: lukka/get-cmake@3.28.3

- name: setup bash path
working-directory: ${{ env.GITHUB_WORKSPACE }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/src/build-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
run: |
pip install conan~=2.0.5
- name: 'ubuntu-14.04: install cmake'
if: matrix.os == 'ubuntu-14.04'
uses: lukka/get-cmake@v3.17.3

- name: install cmake
uses: lukka/get-cmake@v3.24.2
if: matrix.os != 'ubuntu-14.04'
uses: lukka/get-cmake@3.28.3

- name: setup bash path
working-directory: ${{ env.GITHUB_WORKSPACE }}
Expand Down
8 changes: 4 additions & 4 deletions Documents/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Specific instructions for [cross-compiling for Raspberry Pi](Raspberry-Pi.md) ar

1. Download and install a recent [CMake stable release](https://cmake.org/download/#latest) for your platform
Notes:
- Currently, CMake 3.24 or higher is required in order to use the Conan package manager; version 3.24.2 (latest release at the time) has been tested
- Currently, CMake 3.24 or higher is required in order to use the Conan package manager; version 3.28.3 (latest release at the time) has been tested
- Pre-built binary distributions are available for many platforms
- On Linux distributions, e.g. Ubuntu 14.04 LTS (long-term support), the pre-built binary version available via ``apt-get`` may be too out-of-date
Fetch, build and install a suitable version:
```sh
wget "https://cmake.org/files/v3.24/cmake-3.24.2.tar.gz"
tar -zxvf cmake-3.24.2.tar.gz
cd cmake-3.24.2
wget "https://cmake.org/files/v3.28/cmake-3.28.3.tar.gz"
tar -zxvf cmake-3.28.3.tar.gz
cd cmake-3.28.3
./bootstrap
make
sudo make install
Expand Down

0 comments on commit 0c0ae88

Please sign in to comment.