forked from KDE/kmymoney
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
28 lines (25 loc) · 965 Bytes
/
.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
# default KDE build env
include:
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
# 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