Skip to content
Snippets Groups Projects
Commit 6bec17e5 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

Merge branch 'gitlab-ci' into 'master'

Add a gitlab ci file

See merge request Librem5/phosh!65
parents c9ee1d70 539e32a0
No related branches found
No related tags found
No related merge requests found
before_script:
- apt-get -y update
- apt-get -y install build-essential git libgirepository1.0-dev valac
# We need libhandy in Debian for that
#- apt-get -y build-dep .
- apt-get -y install libgnome-desktop-3-dev libgtk-3-dev libpam0g-dev libupower-glib-dev libwayland-dev meson xvfb xauth
build-native:
stage: build
tags:
- librem5
script:
- export LC_ALL=C.UTF-8
- git clone --depth=1 https://source.puri.sm/Librem5/libhandy
- cd libhandy
- meson . _build -Dgtk_doc=false -Dtests=false -Dexamples=false -Dglade_catalog=false
- ninja -C _build install
- cd ..
- meson . _build
- ninja -C _build
- xvfb-run ninja -C _build test
......@@ -8,7 +8,10 @@ phosh is licensed under the GPLv3+.
## Dependencies
sudo apt-get install libgtk-3-dev wayland-protocols gettext libhandy-0.0-dev
sudo apt-get install libgnome-desktop-3-dev libgtk-3-dev libpam0g-dev libupower-glib-dev libwayland-dev meson
Until distros ship [libhandy](https://sources.puri.sm/Librem5/libhandy) you
need to build that from source as well.
## Building
......
......@@ -6,7 +6,7 @@ Build-Depends:
debhelper (>= 10),
libgnome-desktop-3-dev,
libgtk-3-dev,
libhandy-0.0-dev (>= 0.0~git20180429),
libhandy-0.0-dev (>= 0.0.1),
libpam0g-dev,
libupower-glib-dev,
libwayland-dev,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment