Skip to content

Commit

Permalink
add key
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Apr 12, 2020
1 parent 25cd287 commit 435a4c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .ci/linux/install-clang.sh
Expand Up @@ -11,12 +11,12 @@ fi
wget -qO - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository -y "deb http://apt.llvm.org/${VERSION_CODENAME}/ llvm-toolchain-${VERSION_CODENAME}-${CLANG_VERSION} main"
sudo apt-get -y --allow-unauthenticated update
sudo apt-get -qq install clang-${CLANG_VERSION}
sudo apt-get -qq install "clang-${CLANG_VERSION}"


if $INSATLL_CLANG_TOOLS; then
sudo apt-get -y --force-yes -qq install clang-$CLANG_VERSION clang-tools-$CLANG_VERSION
CLANG_SLAVES="--slave /usr/bin/scan-build scan-build /usr/bin/scan-build-$CLANG_VERSION"
sudo apt-get -y --force-yes -qq install "clang-tools-${CLANG_VERSION}"
CLANG_SLAVES="--slave /usr/bin/scan-build scan-build /usr/bin/scan-build-${CLANG_VERSION}"
fi

sudo update-alternatives --install /usr/bin/clang clang \
Expand Down
7 changes: 4 additions & 3 deletions .ci/linux/install-gcc.sh
Expand Up @@ -7,9 +7,10 @@ if [ -z ${GCC_VERSION+x} ]; then
return
fi

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test || true
sudo apt-get -y update
sudo apt-get -qq install g++-${GCC_VERSION}
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -y --allow-unauthenticated update
sudo apt-get -qq install "g++-${GCC_VERSION}"
sudo update-alternatives --install /usr/bin/gcc gcc \
/usr/bin/gcc-${GCC_VERSION} 90 \
--slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_VERSION}

0 comments on commit 435a4c9

Please sign in to comment.