CI: switch to Ubuntu 20.10 to have Qt >= 5.14

KDE Frameworks requires Qt 5.14 already so we should adopt that. This
will also save quite a few #ifdefs when migrating to Qt 6.
This commit is contained in:
Tobias Junghans 2021-05-10 08:53:58 +02:00 committed by Albert Astals Cid
parent 797b430540
commit d3d16fcc17

View File

@ -1,12 +1,12 @@
build_ubuntu_18_04:
build_ubuntu_20_10:
stage: build
image: ubuntu:bionic
image: ubuntu:groovy
before_script:
- sed -i -e 's/# deb-src/deb-src/g' /etc/apt/sources.list
- apt-get update
- apt-get install --yes eatmydata
- eatmydata apt-get build-dep --yes --no-install-recommends qca-qt5
- eatmydata apt-get install --yes --no-install-recommends ninja-build libbotan-2-dev libnss3-dev libgcrypt20-dev libpkcs11-helper1-dev gnupg
- apt update
- apt install --yes eatmydata
- eatmydata apt build-dep --yes --no-install-recommends qca2
- eatmydata apt install --yes --no-install-recommends ninja-build libbotan-2-dev libnss3-dev libgcrypt20-dev libpkcs11-helper1-dev gnupg
script:
- mkdir -p build && cd build
- cmake -G Ninja ..