Skip to content

Commit

Permalink
fix: install cmake latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed May 6, 2024
1 parent b12e79d commit 297915e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ jobs:
with:
submodules: 'recursive'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Install cmake
run: |
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install -y cmake
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down

0 comments on commit 297915e

Please sign in to comment.