1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00
ScreenPlay/.gitlab/ci/base_jobs.yml
Elias Steurer dfe9e60c46 Refactor mac build to be all included into ScreenPlay.app
this also is for all tests now

Fix macos ScreenPlay.app icon
2023-11-30 09:51:12 +01:00

64 lines
2.0 KiB
YAML

.base_windows_build:
dependencies: []
before_script:
- python -m pip install -U pip wheel
- python -m pip install -r Tools/requirements.txt
- python Tools/setup.py
- git submodule sync --recursive
- git submodule update --init --recursive
tags:
- windows10
artifacts:
expire_in: "2 weeks"
paths:
- build-x64-windows-release/bin/
- build-x64-windows-release/ScreenPlay-Installer.exe
.base_linux_build:
dependencies: []
before_script:
# Otherwise libglib2 needs interaction
- export DEBIAN_FRONTEND=noninteractive
- apt update -y
- 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
- python3 -m pip install -U pip
- python3 -m pip install -r Tools/requirements.txt
- python3 Tools/setup.py
- 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
- cmake configure . -DCMAKE_PREFIX_PATH="./../../../aqt/6.6.1/gcc_64"
- make
- make install
- cd ..
- cd ..
- git submodule sync --recursive
- git submodule update --init --recursive
image:
name: ubuntu:22.04
tags:
- gitlab-org-docker
artifacts:
expire_in: "4 weeks"
paths:
- build-x64-linux-release/bin/
.base_osx_build:
dependencies: []
before_script:
- pip3 install -U pip
- pip3 install -r Tools/requirements.txt
- python3 Tools/setup.py
- git submodule sync --recursive
- git submodule update --init --recursive
tags:
- osx