Skip to content

Commit 20bb9d6

Browse files
committed
docs: use npm in setup-cpp for GitLab [skip ci]
1 parent 9833f06 commit 20bb9d6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ stages:
263263
apt-get update -qq
264264
apt-get install -y --no-install-recommends curl gnupg ca-certificates
265265

266-
# keys used by apt
267-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
268-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
269-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
270-
271266
.setup-cpp: &setup-cpp |
272-
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.35.6/setup-cpp-x64-linux"
273-
chmod +x setup-cpp-x64-linux
267+
# install nodejs
268+
apt-get install -y --no-install-recommends nodejs npm
269+
270+
# install setup-cpp
271+
npm install -g setup-cpp@v0.35.6
272+
273+
# install the compiler and tools
274274
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
275275
source ~/.cpprc
276276

0 commit comments

Comments
 (0)