-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.yml
70 lines (64 loc) · 2.06 KB
/
.build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
##########################################################
# THE FOLLOWING LINES IS USED BY docker-build
##########################################################
requires:
debian:
# Useful URL: https://github.com/cafe-desktop/debian-packages
# cafe B-D: libctk-3-dev libctksourceview-4-dev libbean-dev cafe-common
- aptitude
- autoconf-archive
- autopoint
- clang
- clang-tools
- cppcheck
- expect #requiered for unbuffer
- gcc
- git
- gla11y
- gobject-introspection
- gtk-doc-tools
- iso-codes
- libenchant-2-dev
- libgirepository1.0-dev
- libglib2.0-dev
- libsm-dev
- libx11-dev
- libxml2-dev
- make
- python3-dev
- python3-lxml
- yelp-tools
# required for cafe-desktop
- intltool
- libdconf-dev
- libglib2.0-doc
- libstartup-notification0-dev
- libtool
- meson
- wget
# required for ctksourceview
- libatk1.0-dev
- libfribidi-dev
- libxml2-utils
- libgdk-pixbuf2.0-doc
- libgladeui-dev
- libpango1.0-doc
- xauth
- xvfb
# required for libbean
- libgirepository1.0-doc
- python-gi-dev
- python3-gi
before_scripts:
- ./html-cppcheck
- ./debrepo-install 'libctk-3-dev gir1.2-ctk-3.0 libctk-3-common libctk-3-0 libctk-3-doc'
- ./install-from-git https://github.com/cafe-desktop/cafe-common master
- ./install-from-git https://github.com/cafe-desktop/cafe-desktop master #required for make check
- ./install-from-git https://github.com/cafe-desktop/ctksourceview master meson '--libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu'
- ./install-from-git https://github.com/cafe-desktop/libbean master meson '--libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu'
build_scripts:
- ./before-build
- ./make-scanbuild '--enable-compile-warnings=maximum --disable-tests'
- ./after-build
after_scripts:
- if [ -f "gen-index" ]; then ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/cafe-icon-theme/raw/master/cafe/16x16/apps/accessories-text-editor.png; fi