ci(gitea): retry apt setup
CI / Build + Clippy + Test (pull_request) Failing after 31s
CI / Security audit (RUSTSEC) (pull_request) Failing after 3h10m23s
CI / Build + Clippy + Test (pull_request) Failing after 31s
CI / Security audit (RUSTSEC) (pull_request) Failing after 3h10m23s
This commit is contained in:
@@ -44,13 +44,14 @@ jobs:
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
APT_OPTS=(-o Acquire::Retries=5 -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30)
|
||||
sudo apt-get "${APT_OPTS[@]}" update --error-on=any
|
||||
# NOTE: do NOT use --no-install-recommends for libclang-dev — on
|
||||
# Debian Bookworm (the node:20-bookworm image used by act_runner
|
||||
# under ubuntu-latest) the recommended toolchain bits are needed
|
||||
# by bindgen. The pkg-config based deps (pipewire/wayland/etc)
|
||||
# are also more reliable without the flag.
|
||||
sudo apt-get install -y \
|
||||
sudo apt-get "${APT_OPTS[@]}" install -y \
|
||||
ffmpeg \
|
||||
libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libva-dev \
|
||||
libwayland-dev wayland-protocols \
|
||||
|
||||
Reference in New Issue
Block a user