1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02: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 stage: build
allow_failure: true allow_failure: true
image: image:
name: darkmattercoder/qt-build:5.15.2 name: ubuntu:20.04
entrypoint: [""]
tags: tags:
- gitlab-org-docker - gitlab-org-docker
needs: needs:
- check - check
script: script:
- sudo apt-get update -y - apt update -y
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common -y # Otherwise libglib2 needs interaction
- sudo snap install cqtdeployer - 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 - 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-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
- sudo apt-get update -y - sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -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 - cd Tools
- wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.2/CQtDeployer_1.5.2_OfflineInstaller_Linux64.run
- python setup.py - python setup.py
- python build.py -t debug - python build.py -t debug
artifacts: artifacts: