File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,12 @@ jobs:
166166 key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} 
167167 - name : Install compiler 
168168 run : | 
169-  curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - 
170-  sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${{ matrix.version }} main" 
169+  curl --retry ${INSTALL_COMPILER_RETRIES} -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - 
170+  echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries 
171+  sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.version }} main" 
171172 sudo apt-get update 
172-  sudo apt-get install -y clang-${{ matrix.version }} libsparsehash -dev libidn11 
173-  curl -O -L https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz 
173+  sudo apt-get install -y clang-${{ matrix.version }} libstdc++-7-dev libbsd-dev uuid -dev libidn11 
174+  curl --retry ${INSTALL_COMPILER_RETRIES} - O -L https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz 
174175 tar xf cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz 
175176 echo "cmake-${CMAKE_VERSION}-Linux-x86_64/bin" >> $GITHUB_PATH 
176177name : Build 
                         You can’t perform that action at this time. 
           
                  
0 commit comments