mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
Meta: Automatically select best apt mirror
This is an attempt to avoid issues with the azure ubuntu apt mirror by using apt-spy2 to select the best mirror before installing dependencies.
This commit is contained in:
parent
89b8d346fe
commit
b0606d90f0
7 changed files with 37 additions and 0 deletions
|
@ -5,6 +5,12 @@ steps:
|
|||
- checkout: self
|
||||
persistCredentials: true
|
||||
|
||||
- ${{ if in(parameters.os, 'Linux', 'Serenity', 'Android') }}:
|
||||
- script: |
|
||||
sudo gem install apt-spy2
|
||||
sudo apt-spy2 fix --commit --launchpad --country=US
|
||||
displayName: 'Select best APT mirror'
|
||||
|
||||
- ${{ if eq(parameters.os, 'Serenity') }}:
|
||||
- script: |
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue