-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
.gitlab-ci.yml
42 lines (37 loc) · 1.2 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
# 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
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