blob: d2c5af40d23ce22528e5343a0e8cad4141959f93 (
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
49
50
51
52
|
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
- sudo 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: '80f4a16af18b8641874fe037710dcaad4710ff50'
DOCKER_REGISTRY: "registry.gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images"
DOCKER_AMD64: "${DOCKER_REGISTRY}/bst14/amd64:${DOCKER_IMAGE_ID}"
image: "${DOCKER_AMD64}"
tags:
- privileged
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
tags:
- privileged
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"
|