-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
74 lines (66 loc) · 1.54 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# SPDX-FileCopyrightText: 2018 Jonah Brüchert <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
stages:
- build
- deploy
clazy:
stage: build
image: ghcr.io/kaidanim/debian
variables:
CC: clang
CXX: clazy
script: apt update && apt install -y clang libc++-dev libc++abi-dev && utils/travis/build.sh
qmllint:
stage: build
image: ghcr.io/kaidanim/debian
script: qmllint $(find . -name "*.qml")
variables:
QT_SELECT: 5
flatpak:
variables:
KDE_FLATPAK_APP_ID: im.kaidan.kaidan
linux-appimage:
stage: deploy
image: kaidan/ubuntu-xenial
script: utils/build-linux-appimage.sh
variables:
QXMPP_BUILD: /usr
artifacts:
paths:
- "*.AppImage"
- "*.AppImage.zsync"
expire_in: 1 week
only:
- network/kaidan
android:
stage: deploy
image: kdeorg/android-sdk
script:
- utils/build-android-docker.sh
variables:
KF5_VERSION: master
allow_failure: true
artifacts:
paths:
- "kaidan_arm.apk"
- "kaidan_arm64.apk"
expire_in: 1 week
only:
- network/kaidan
variables:
GIT_SUBMODULE_STRATEGY: recursive
BUILD_SYSTEM: cmake
BUILD_TYPE: Release
include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/reuse-lint.yml
- /gitlab-templates/xml-lint.yml
- /gitlab-templates/json-validation.yml
- /gitlab-templates/flatpak.yml
- /gitlab-templates/linux.yml
- /gitlab-templates/freebsd.yml
# - /gitlab-templates/android.yml
- /gitlab-templates/windows.yml
- /gitlab-templates/craft-windows-x86-64.yml