Skip to content

Commit 5aff52f

Browse files
committed
Use newer CMake for Ubuntu 18 to make it find newer Boost
1 parent 418d12b commit 5aff52f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ jobs:
6464
run: |
6565
export DEBIAN_FRONTEND=noninteractive
6666
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
67-
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common curl
68-
# Need (newer) git, and the older Ubuntu container may require requesting the key manually using port 80
67+
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common curl lsb-release
68+
# Need (newer) git & cmake, and the older Ubuntu container may require requesting the key manually using port 80
6969
curl -sSL --retry ${NET_RETRY_COUNT:-5} 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE1DD270288B4E6030699E45FA1715D88E1DF1F24' | sudo gpg --dearmor > /etc/apt/trusted.gpg.d/git-core_ubuntu_ppa.gpg
7070
for i in {1..${NET_RETRY_COUNT:-5}}; do sudo -E add-apt-repository -y ppa:git-core/ppa && break || sleep 10; done
71+
curl -sSL --retry ${NET_RETRY_COUNT:-5} 'https://apt.kitware.com/keys/kitware-archive-latest.asc' | sudo gpg --dearmor > /etc/apt/trusted.gpg.d/kitware-archive-latest.gpg
72+
for i in {1..${NET_RETRY_COUNT:-5}}; do sudo -E add-apt-repository -y "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" && break || sleep 10; done
7173
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
7274
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y g++ git cmake
7375
git config --global pack.threads 0

0 commit comments

Comments
 (0)