summaryrefslogtreecommitdiff
path: root/subprojects/dbus-gmain/.gitlab-ci.yml
blob: c063317bb9b3d80464910ed8d85ab023c2180426 (plain)
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
# Copyright © 2015-2022 Collabora Ltd.
# SPDX-License-Identifier: MIT

image: debian:bullseye-slim

stages:
    - build

build:
    stage: build
    image: "debian:bullseye-slim"
    script:
        - |
            apt-get -y update
            apt-get -y install \
                build-essential \
                dbus-daemon \
                libdbus-1-dev \
                libglib2.0-dev \
                meson \
                pkg-config \
                python3 \
                ${NULL+}
            meson _build
            meson compile -C _build -v
            meson test -C _build -v

reuse:
    stage: build
    image:
        name: fsfe/reuse:latest
        entrypoint: [""]
    script:
        - reuse lint