Skip to content

Commit

Permalink
[ci] ignore certificates for kitware apt channel in CUDA jobs (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 4, 2021
1 parent a77260f commit 0dc5b97
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,15 @@ else # Linux
clang \
libomp-dev
fi
curl -sL https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add -
curl \
-s \
-L \
--insecure \
https://apt.kitware.com/keys/kitware-archive-latest.asc \
| apt-key add -
apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" -y
apt-get update
apt-get --allow-unauthenticated upgrade -y
apt-get --allow-unauthenticated update -y
apt-get install --no-install-recommends -y \
cmake
else
Expand Down

0 comments on commit 0dc5b97

Please sign in to comment.