mirror of https://gitee.com/openkylin/gvfs.git
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
fedora:
|
|
image:
|
|
name: registry.gitlab.gnome.org/gnome/gvfs:latest
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
tags:
|
|
- x86_64
|
|
- ipv6
|
|
script:
|
|
- meson
|
|
-Dinstalled_tests=true
|
|
-Ddevel_utils=true
|
|
-Dman=true
|
|
-Dafc=true
|
|
-Darchive=true
|
|
-Dsftp=true
|
|
-Dsmb=true
|
|
-Dudisks2=true
|
|
-Dhttp=true
|
|
-Dgphoto2=true
|
|
--prefix /usr --werror build
|
|
- sudo ninja -C build install
|
|
- GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner gvfs
|
|
allow_failure: true
|
|
|
|
update-image:
|
|
variables:
|
|
STORAGE_DRIVER: vfs
|
|
BUILDAH_FORMAT: docker
|
|
BUILDAH_ISOLATION: chroot
|
|
image: registry.fedoraproject.org/fedora:latest
|
|
script:
|
|
- dnf install -y buildah runc
|
|
- sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
|
|
- buildah bud --tag $CI_REGISTRY_IMAGE -f .gitlab-ci/Dockerfile
|
|
- buildah tag $CI_REGISTRY_IMAGE "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
|
|
- buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
- buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD $CI_REGISTRY_IMAGE
|
|
- buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
|
|
when: manual
|
|
only:
|
|
variables:
|
|
- $CI_PROJECT_NAMESPACE == "GNOME"
|
|
|