2023-08-11 17:00:24 +02:00
|
|
|
.base_windows_build:
|
2023-08-20 15:17:18 +02:00
|
|
|
dependencies: []
|
2023-08-11 17:00:24 +02:00
|
|
|
before_script:
|
|
|
|
- python -m pip install -U pip wheel
|
|
|
|
- python -m pip install -r Tools/requirements.txt
|
|
|
|
- python Tools/setup.py
|
2023-10-13 05:50:14 +02:00
|
|
|
- git submodule sync --recursive
|
|
|
|
- git submodule update --init --recursive
|
2023-08-11 17:00:24 +02:00
|
|
|
tags:
|
|
|
|
- windows10
|
|
|
|
artifacts:
|
|
|
|
expire_in: "2 weeks"
|
|
|
|
paths:
|
|
|
|
- build-x64-windows-release/bin/
|
|
|
|
- build-x64-windows-release/ScreenPlay-Installer.exe
|
|
|
|
|
|
|
|
.base_linux_build:
|
2023-08-20 15:17:18 +02:00
|
|
|
dependencies: []
|
2023-08-11 17:00:24 +02:00
|
|
|
before_script:
|
|
|
|
# Otherwise libglib2 needs interaction
|
|
|
|
- export DEBIAN_FRONTEND=noninteractive
|
|
|
|
- apt update -y
|
2023-10-13 13:08:09 +02:00
|
|
|
- apt install cmake python3.10-venv libwayland-dev wayland-protocols curl wget zip unzip tar git pkg-config libxcb-* libfontconfig-dev apt-transport-https ca-certificates gnupg software-properties-common python3 python3-pip build-essential libgl1-mesa-dev mesa-common-dev lld ninja-build libxkbcommon-* libx11-dev xserver-xorg-dev xorg-dev -y
|
|
|
|
- python3 -m venv env
|
|
|
|
- source env/bin/activate
|
2023-08-11 17:00:24 +02:00
|
|
|
- python3 -m pip install -U pip
|
|
|
|
- python3 -m pip install -r Tools/requirements.txt
|
|
|
|
- python3 Tools/setup.py
|
2023-10-29 11:26:42 +01:00
|
|
|
- cd ThirdParty
|
|
|
|
- git clone https://invent.kde.org/frameworks/extra-cmake-modules.git
|
|
|
|
- cd extra-cmake-modules
|
|
|
|
- cmake configure .
|
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- cd ..
|
|
|
|
- git clone https://invent.kde.org/plasma/layer-shell-qt.git
|
|
|
|
- cd layer-shell-qt
|
2023-11-29 10:36:58 +01:00
|
|
|
- cmake configure . -DCMAKE_PREFIX_PATH="./../../../aqt/6.6.1/gcc_64"
|
2023-10-29 11:26:42 +01:00
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- cd ..
|
|
|
|
- cd ..
|
2023-10-13 05:50:14 +02:00
|
|
|
- git submodule sync --recursive
|
|
|
|
- git submodule update --init --recursive
|
2023-08-11 17:00:24 +02:00
|
|
|
image:
|
2023-10-14 11:20:15 +02:00
|
|
|
name: ubuntu:22.04
|
2023-08-11 17:00:24 +02:00
|
|
|
tags:
|
|
|
|
- gitlab-org-docker
|
|
|
|
artifacts:
|
|
|
|
expire_in: "4 weeks"
|
|
|
|
paths:
|
|
|
|
- build-x64-linux-release/bin/
|
|
|
|
|
|
|
|
.base_osx_build:
|
2023-08-20 15:17:18 +02:00
|
|
|
dependencies: []
|
2023-08-11 17:00:24 +02:00
|
|
|
before_script:
|
|
|
|
- pip3 install -U pip
|
|
|
|
- pip3 install -r Tools/requirements.txt
|
|
|
|
- python3 Tools/setup.py
|
2023-10-13 05:50:14 +02:00
|
|
|
- git submodule sync --recursive
|
|
|
|
- git submodule update --init --recursive
|
2023-08-11 17:00:24 +02:00
|
|
|
tags:
|
|
|
|
- osx
|