blob: 03c56f11c08693fc990d9fa1fd7d75525cf5d7e4 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
fedora:
image: registry.gitlab.gnome.org/gnome/gvfs:latest
tags:
- x86_64
script:
- meson -Dinstalled_tests=true -Ddevel_utils=true -Dman=true --prefix /usr --werror build
- ninja -C build install
- GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner gvfs
allow_failure: true
.gnome-build-meta-template: &gnome-build-meta
variables:
DOCKER_IMAGE_ID: 'e593f441b6ac7536b0e35a4354dc20c6c123f6b5'
DOCKER_REGISTRY: "registry.gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images"
DOCKER_AMD64: "${DOCKER_REGISTRY}/bst14/amd64:${DOCKER_IMAGE_ID}"
image: "${DOCKER_AMD64}"
before_script:
- git clone --depth 1 https://gitlab.gnome.org/GNOME/gnome-build-meta.git
script:
- cd gnome-build-meta
- bst build --track-all sdk/gvfs.bst
- bst workspace open --no-checkout sdk/gvfs.bst ..
- bst --no-interactive build sdk/gvfs.bst
gnome-build-meta-tags:
<<: *gnome-build-meta
only: [tags]
gnome-build-meta-manual:
<<: *gnome-build-meta
when: manual
except: [tags]
update-image:
variables:
DOCKER_TLS_CERTDIR: ""
image: docker:latest
services:
- docker:dind
script:
- docker build --tag $CI_REGISTRY_IMAGE .gitlab-ci/
- docker tag $CI_REGISTRY_IMAGE "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker push $CI_REGISTRY_IMAGE
when: manual
only:
variables:
- $CI_PROJECT_NAMESPACE == "GNOME"
|