diff options
author | Ondrej Holy <oholy@redhat.com> | 2019-01-16 12:59:23 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2019-01-21 15:14:29 +0100 |
commit | 20f0297a6b1f17b33afcb99a0908cbb5e68027e8 (patch) | |
tree | 876a893f9c8d36a8f860ac6b03784e9a1c096a17 /.gitlab-ci.yml | |
parent | dc28d9a74875b6b3112992fc584f293a6fc18752 (diff) | |
download | gvfs-20f0297a6b1f17b33afcb99a0908cbb5e68027e8.tar.gz |
ci: Add gnome-build-meta integration
Recently, several patches had to be reverted because of too old meson
version in gnome-build-meta. Let's add gnome-build-meta job to prevent
similar problems in the future. The job is based .gitlab-ci.yml from
gnome-build-meta repository. I made some experiments to run it from
our Docker image including pregenerated buildstream cache, but it was
unexpectedly slower and also made the image too big. I am making the
job manual, because is quite slow and also it is not necessary to run
it always.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e59cb90..85f7d50b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,24 @@ fedora: - meson build --werror - ninja -C build +gnome-build-meta: + image: buildstream/buildstream-fedora:master-123-abef70fe + before_script: + - pip3 uninstall -y buildstream + - git clone https://gitlab.com/BuildStream/buildstream.git + - git -C buildstream/ checkout 10abe77fe8d77385d86f225b503d9185f4ef7f3a + - pip3 install buildstream/ + - git clone https://gitlab.com/BuildStream/bst-external.git + - git -C bst-external/ checkout 0.8.0-0-g762ea216b751bf89ac15350e1cb98542963bbf33 + - pip3 install bst-external/ + - 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 + when: manual + update-image: image: docker:latest services: |