-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.gitlab-ci.yml
54 lines (53 loc) · 1.46 KB
/
.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
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
include:
- project: "GNOME/citemplates"
file: "templates/default-rules.yml"
- component: "gitlab.gnome.org/GNOME/citemplates/gnomeos-basic-ci@master"
inputs:
# FIXME: currently we don't have lua, should fix that at some point
meson-options: "-Dlua51=false -Dgtk_doc=true"
- component: "gitlab.gnome.org/GNOME/citemplates/basic-deploy-docs@master"
- component: "gitlab.gnome.org/GNOME/citemplates/release-service@master"
inputs:
dist-job-name: "build-gnomeos"
tarball-artifact-path: "_builddir/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz"
build peas:
image: 'registry.fedoraproject.org/fedora:41'
stage: 'build'
variables:
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/_ccache"
DEPS: >-
gcc
gcc-c++
ccache
gettext
meson
ninja-build
redhat-rpm-config
glib2-devel
gobject-introspection-devel
python3-devel
python3-packaging
python3-gobject-devel
xorg-x11-server-Xvfb
git
luajit-devel
lua-lgi-compat
gi-docgen
vala
mozjs128-devel
gjs-devel
before_script:
- "dnf install -y $DEPS"
- 'mkdir -p _ccache'
- 'ccache --zero-stats'
- 'ccache --show-stats'
script:
- 'meson -Dintrospection=true -Dvapi=true -Dgtk_doc=false _build .'
- 'ninja -C _build test'
after_script:
- 'ccache --show-stats'
cache:
key: "$CI_JOB_NAME"
paths:
- '_ccache/'