1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Test linux CI

This commit is contained in:
Elias Steurer 2021-07-25 15:23:31 +02:00
parent e3a6193275
commit 6a9bf15ba2

View File

@ -84,21 +84,25 @@ build:linux_debug:
stage: build
allow_failure: true
image:
name: darkmattercoder/qt-build:5.15.2
entrypoint: [""]
name: ubuntu:20.04
tags:
- gitlab-org-docker
needs:
- check
script:
- sudo apt-get update -y
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common -y
- sudo snap install cqtdeployer
- apt update -y
# Otherwise libglib2 needs interaction
- export DEBIAN_FRONTEND=noninteractive
- apt install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common wget python3-pip -y
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
- sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
- sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- pip3 install aqtinstall
- mkdir Qt
- aqt install --outputdir Qt/ 5.15.2 linux desktop
- cd Tools
- wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.2/CQtDeployer_1.5.2_OfflineInstaller_Linux64.run
- python setup.py
- python build.py -t debug
artifacts: