-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
.gitlab-ci.yml
73 lines (66 loc) · 1.8 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
# default KDE build env
include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/json-validation.yml
- /gitlab-templates/linux.yml
- /gitlab-templates/freebsd.yml
- /gitlab-templates/windows.yml
- /gitlab-templates/craft-appimage.yml
- /gitlab-templates/craft-windows-x86-64.yml
- /gitlab-templates/craft-macos-arm64.yml
- /gitlab-templates/craft-macos-x86-64.yml
# macos installs currently only on demand since they are failing
craft_macos_arm64:
when: manual
craft_macos_x86_64:
when: manual
# custom builds
variables:
ci_cmake_options: "-DKMM_I18N_GENERATION=off"
build_local_ubuntu_2110:
# make it manual for now, since 21.10 alkimia is at 5.7 and as such incompatible with master
when: manual
stage: build
image: ubuntu:21.10
variables:
DEBIAN_FRONTEND: "noninteractive"
before_script:
- echo "Installing dependencies."
- apt update
- sed -i -- 's/#[ ]*deb-src/deb-src/g' /etc/apt/sources.list
- apt update
- apt install -y apt-utils eatmydata
- eatmydata apt build-dep -y kmymoney
- eatmydata apt install -y libsqlcipher-dev libqt5sql5-sqlite qtbase5-private-dev ninja-build
script:
- echo "Building."
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
- ninja
distro_kf5_leap:
stage: build
#when: manual
image: opensuse/leap:15.6
variables:
ci_distro: "opensuse-leap-15.6"
ci_in_docker: "yes"
ci_parallel: "8"
ci_sudo: "yes"
ci_variant: "kf5"
before_script:
- ./tools/ci-install.sh
script:
- ./tools/ci-build.sh
distro_kf6_tumbleweed:
stage: build
#when: manual
image: opensuse/tumbleweed
variables:
ci_in_docker: "yes"
ci_parallel: "8"
ci_sudo: "yes"
ci_variant: "kf6"
before_script:
- ./tools/ci-install.sh
script:
- ./tools/ci-build.sh