-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitlab-ci.yml
44 lines (42 loc) · 1.36 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
include:
- project: sysadmin/ci-utilities
file:
# validate:
- /gitlab-templates/reuse-lint.yml
- /gitlab-templates/xml-lint.yml
# build:
- /gitlab-templates/linux-qt6.yml
- /gitlab-templates/freebsd-qt6.yml
# deploy:
- /gitlab-templates/flatpak.yml
# - /gitlab-templates/craft-appimage-qt6.yml
## jzarl: Until KF6 lands in Debian stable, disable CI there
.template: &debian
variables:
DEBIAN_FRONTEND: noninteractive
QT_QPA_PLATFORM: offscreen
LANG: C.UTF-8
interruptible: true
tags:
- Linux
before_script:
- >-
apt-get -qq update && apt-get install -y eatmydata && eatmydata apt-get install -y --no-install-recommends make cmake extra-cmake-modules gettext
g++ gcc libkf6kio-dev pkg-config pkg-kde-tools libphonon4qt5-dev libkf6archive-dev libkf6doctools-dev
libqt5sql5-sqlite libkf6textwidgets-dev libjpeg-dev libexiv2-dev libkf6purpose-dev libkdcrawqt6-dev
libmarble-dev curl git libvlc-dev
script:
- mkdir build && cd $_ && cmake ../ && make -j$(nproc)
- make install
- ctest --rerun-failed --output-on-failure
#build:debian-stable:
# stage: build
# image: "debian:stable"
# <<: *debian
#
#build:debian-testing:
# stage: build
# image: "debian:testing"
# <<: *debian