Increase the apt timeout to 20 minutes since the download can be very slow

This commit is contained in:
Antoni Boucher
2026-10-07 18:15:44 -04:00
parent ebc423bfa2
commit 9cf4da2e73
6 changed files with 9 additions and 9 deletions

View File

@@ -73,14 +73,14 @@ jobs:
- name: Install packages
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
timeout-minutes: 10
timeout-minutes: 20
run: |
sudo apt-get update
sudo apt-get install ninja-build ripgrep llvm-14-tools llvm
- name: Install the libraries needed to build librsvg
if: ${{ contains(matrix.commands, '--librsvg-tests') }}
timeout-minutes: 10
timeout-minutes: 20
run: sudo apt-get install libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype-dev libharfbuzz-dev libxml2-dev libglib2.0-dev
- name: Download artifact

View File

@@ -49,12 +49,12 @@ jobs:
uses: ./.github/actions/apt-mirrors
- name: Install packages
timeout-minutes: 10
timeout-minutes: 20
run: sudo apt-get install ninja-build ripgrep
- name: Install libgccjit12
if: matrix.libgccjit_version.gcc == 'libgccjit12.so'
timeout-minutes: 10
timeout-minutes: 20
run: |
sudo apt-get update
sudo apt-get install libgccjit-12-dev

View File

@@ -51,7 +51,7 @@ jobs:
- name: Install packages
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
timeout-minutes: 10
timeout-minutes: 20
run: |
sudo apt-get update
sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev

View File

@@ -50,7 +50,7 @@ jobs:
uses: ./.github/actions/apt-mirrors
- name: Install packages
timeout-minutes: 10
timeout-minutes: 20
run: |
sudo apt-get update
sudo apt-get install qemu-system qemu-user-static

View File

@@ -44,7 +44,7 @@ jobs:
- name: Install packages
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for run-make tests.
timeout-minutes: 10
timeout-minutes: 20
run: sudo apt-get install ninja-build ripgrep llvm-14-tools llvm
- name: Download artifact

View File

@@ -45,13 +45,13 @@ jobs:
uses: ./.github/actions/apt-mirrors
- name: Install packages
timeout-minutes: 10
timeout-minutes: 20
run: sudo apt-get install ninja-build ripgrep
# FIXME: remove when we have binutils version 2.43 in the repo.
- name: Install more recent binutils
# Without a limit, an unreachable mirror hangs the job until GitHub's 6-hour timeout.
timeout-minutes: 10
timeout-minutes: 20
run: |
echo "deb mirror+file:/etc/apt/apt-mirrors.txt plucky main universe" | sudo tee /etc/apt/sources.list.d/plucky-copies.list
sudo apt-get update -o Acquire::Retries=3 -o Acquire::http::Timeout=30