summaryrefslogtreecommitdiff
path: root/ci/build.sh
blob: 2b0ed07bc34a0f5f823ca6c5d1401d2ff67ba0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/bash
# Install build dependencies, run unit tests and installed tests.

set -xeuo pipefail

dn=$(dirname $0)
. ${dn}/libbuild.sh

pkg_install sudo which attr fuse bison dbus-daemon \
    libubsan libasan libtsan clang python2 \
    elfutils git gettext-devel libappstream-glib-devel hicolor-icon-theme \
    dconf-devel fuse-devel \
    /usr/bin/{update-mime-database,update-desktop-database,gtk-update-icon-cache}
pkg_install_testing ostree-devel ostree
pkg_install gdk-pixbuf2-modules # needed to make icon validation work
pkg_install_builddeps flatpak

build --enable-gtk-doc ${CONFIGOPTS:-}