From 6be3e0d21d37c03051116ac0e004eca114ac64c0 Mon Sep 17 00:00:00 2001 From: Tryanks Date: Fri, 20 Nov 2026 13:14:52 +0800 Subject: [PATCH] CI: Linux installs its packages from the runner's own Ubuntu mirror The step rewrote azure.archive.ubuntu.com to archive.ubuntu.com. Azure runners now fetch from their own mirror at 5-10 MB/s in the release jobs, and the slow installs come from runners hosted in AWS, whose us-east-2.ec2 mirror the rewrite never matched. --- .github/workflows/ci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1370edfc5..95baae591 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,12 +62,6 @@ jobs: name: Install Linux system dependencies if: runner.os == 'Linux' run: | - # The Azure mirror has delivered packages at ~65 kB/s on these runners. - for source in /etc/apt/sources.list.d/ubuntu.sources /etc/apt/apt-mirrors.txt; do - if [[ -f "$source" ]]; then - sudo sed -i 's|http://azure\.archive\.ubuntu\.com/ubuntu|https://archive.ubuntu.com/ubuntu|g' "$source" - fi - done apt_get=(sudo apt-get -o Acquire::ForceIPv4=true -o Acquire::Retries=3) "${apt_get[@]}" update "${apt_get[@]}" install -y --no-install-recommends \