Skip to content

Commit

Permalink
Try a diffrent way of getting cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaDev5 committed Jan 8, 2025
1 parent b99e084 commit ac8c167
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ jobs:
apt-get update ;
add-apt-repository ppa:ubuntu-toolchain-r/test ;
apt-get install -y wget
wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.tar.gz
tar zxvf cmake-3.12.0-Linux-x86_64.tar.gz
mv cmake-3.12.0-Linux-x86_64 /opt/cmake-3.12.0
ln -sf /opt/cmake-3.12.0/bin/* /usr/bin/
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ noble main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
sudo apt update ;
sudo apt install -y cmake
apt-get install -y libstdc++6 libcurl4-openssl-dev'

- name: Download package
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/sdk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
apt-get update
apt-get -y install sudo
apt-get -y install wget
wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.tar.gz
tar zxvf cmake-3.12.0-Linux-x86_64.tar.gz
sudo mv cmake-3.12.0-Linux-x86_64 /opt/cmake-3.12.0
sudo ln -sf /opt/cmake-3.12.0/bin/* /usr/bin/
apt-get -y install tree
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ noble main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
sudo apt update ;
sudo apt install -y cmake
apt-get -y install libcurl4-openssl-dev
apt-get -y install software-properties-common
apt-get -y install git
Expand Down

0 comments on commit ac8c167

Please sign in to comment.