summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2022-11-04 00:06:18 +0100
committerAlbert Astals Cid <aacid@kde.org>2022-11-04 00:06:18 +0100
commit0205c12924a63f326e0b6f11153aba4eebdcd551 (patch)
treee72c8bb72312440baf44690b1d3522c69464831d
parent66dc111212930fa7f936ea3ed69a566febef5f4c (diff)
CI: Fix ubuntu:21.04 CI
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f3711a9..2b44ff1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,9 @@ build_gcc_ubuntu_21_04:
stage: build
image: ubuntu:21.04
before_script:
+ - sed -i -e 's/archive/old-releases/g' /etc/apt/sources.list
+ - sed -i -e 's/security.ubuntu/old-releases.ubuntu/g' /etc/apt/sources.list
+ - echo "91.189.91.124 old-releases.ubuntu.com" >> /etc/hosts
- apt-get update
- apt-get install --yes --no-install-recommends build-essential libgs-dev locales automake libtool pkg-config
- echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen