CI: skip the slow Azure apt mirror, tidy the ProxSpace job

The Ubuntu jobs drop azure.archive.ubuntu.com from the runner's mirror
list. It sometimes serves at tens of kB/s, held apt-get install for up
to 50 minutes and apt never fails over (actions/runner-images#14823).

The ProxSpace job no longer asks for arm-none-eabi-gdb, which MSYS2
replaced with gdb-multiarch in 2023, and no longer persists the
checkout credentials, whose cleanup failed with MSYS2's git on PATH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Gabriele GristinaandClaude Opus 5.5 committed 2026-11-06 21:28:47 +01:00
1 parent 8953c8d88d
commit e9689307c8
3 files changed
+24 -7

No files matched your search

+20 -4
View File
@@ -27,8 +27,12 @@ jobs:
with:
python-version: '3.12'
# azure.archive.ubuntu.com can serve at tens of kB/s and apt does not fail
# over on slowness (actions/runner-images#14823): use the Ubuntu archive
- name: Update apt repos
run: sudo apt-get update
run: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -yqq make build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
@@ -57,8 +61,12 @@ jobs:
with:
python-version: '3.12'
# azure.archive.ubuntu.com can serve at tens of kB/s and apt does not fail
# over on slowness (actions/runner-images#14823): use the Ubuntu archive
- name: Update apt repos
run: sudo apt-get update
run: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -yqq make build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
@@ -88,8 +96,12 @@ jobs:
with:
python-version: '3.12'
# azure.archive.ubuntu.com can serve at tens of kB/s and apt does not fail
# over on slowness (actions/runner-images#14823): use the Ubuntu archive
- name: Update apt repos
run: sudo apt-get update
run: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -yqq make build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
@@ -130,8 +142,12 @@ jobs:
with:
python-version: '3.12'
# azure.archive.ubuntu.com can serve at tens of kB/s and apt does not fail
# over on slowness (actions/runner-images#14823): use the Ubuntu archive
- name: Update apt repos
run: sudo apt-get update
run: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -yqq make build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
+3 -1
View File
@@ -56,7 +56,6 @@ jobs:
##############################
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-arm-none-eabi-gcc
mingw-w64-ucrt-x86_64-arm-none-eabi-gdb
mingw-w64-ucrt-x86_64-arm-none-eabi-binutils
mingw-w64-ucrt-x86_64-arm-none-eabi-newlib
mingw-w64-ucrt-x86_64-readline
@@ -109,7 +108,10 @@ jobs:
}
exit 1
# no credentials to clean up after the job, when MSYS2's git is first on PATH
- uses: actions/checkout@v6
with:
persist-credentials: false
# Prepend MSYS2 tools to PATH only for steps after checkout, so actions/checkout
# keeps using the runner's native git (MSYS2's git.exe mangles refs like