mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Increase the apt timeout to 20 minutes since the download can be very slow
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/failures.yml
vendored
4
.github/workflows/failures.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/gcc12.yml
vendored
2
.github/workflows/gcc12.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/m68k.yml
vendored
2
.github/workflows/m68k.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/stdarch.yml
vendored
4
.github/workflows/stdarch.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user