mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Retry apt-get update and add-apt-repository
Some checks failed
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Ubuntu (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
Some checks failed
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Ubuntu (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
This commit is contained in:
parent
aed135a7c0
commit
8ee0c9e7be
1 changed files with 19 additions and 5 deletions
|
@ -95,7 +95,7 @@ declare -rA GROUPED_DEPS=(
|
||||||
[libasan6]="libasan6"
|
[libasan6]="libasan6"
|
||||||
|
|
||||||
[android]="binutils build-essential cmake ccache curl unzip git pkg-config"
|
[android]="binutils build-essential cmake ccache curl unzip git pkg-config"
|
||||||
|
|
||||||
[openmw-clang-format]="
|
[openmw-clang-format]="
|
||||||
clang-format-14
|
clang-format-14
|
||||||
git-core
|
git-core
|
||||||
|
@ -126,10 +126,24 @@ export APT_CACHE_DIR="${PWD}/apt-cache"
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
set -x
|
set -x
|
||||||
mkdir -pv "$APT_CACHE_DIR"
|
mkdir -pv "$APT_CACHE_DIR"
|
||||||
apt-get update -yqq
|
|
||||||
|
while true; do
|
||||||
|
apt-get update -yqq && break
|
||||||
|
done
|
||||||
|
|
||||||
apt-get -qq -o dir::cache::archives="$APT_CACHE_DIR" install -y --no-install-recommends software-properties-common gnupg >/dev/null
|
apt-get -qq -o dir::cache::archives="$APT_CACHE_DIR" install -y --no-install-recommends software-properties-common gnupg >/dev/null
|
||||||
add-apt-repository -y ppa:openmw/openmw
|
|
||||||
add-apt-repository -y ppa:openmw/openmw-daily
|
while true; do
|
||||||
add-apt-repository -y ppa:openmw/staging
|
add-apt-repository -y ppa:openmw/openmw && break
|
||||||
|
done
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
add-apt-repository -y ppa:openmw/openmw-daily && break
|
||||||
|
done
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
add-apt-repository -y ppa:openmw/staging && break
|
||||||
|
done
|
||||||
|
|
||||||
apt-get -qq -o dir::cache::archives="$APT_CACHE_DIR" install -y --no-install-recommends "${deps[@]}" >/dev/null
|
apt-get -qq -o dir::cache::archives="$APT_CACHE_DIR" install -y --no-install-recommends "${deps[@]}" >/dev/null
|
||||||
apt list --installed
|
apt list --installed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue