summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml39
1 files changed, 20 insertions, 19 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2710039..a181736c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,27 +1,28 @@
-image: fedora:28
+image: registry.gitlab.gnome.org/gnome/libsoup/master:v1
-variables:
- ADDITIONAL_DEPENDENCIES: which gtk-doc libpsl-devel make httpd php php-xmlrpc mod_ssl redhat-rpm-config
- USER: user
- BUILDDIR: $CI_PROJECT_DIR/build
+fedora-autotools-x86_64:
+ tags:
+ - non_aws
+ script:
+ - mkdir -p _build
+ - cd _build
+ - ../autogen.sh
+ - make
+ - make check
+ artifacts:
+ paths:
+ - _build/config.log
+ - _build/tests/test-suite.log
+ when: on_failure
-build:
+fedora-meson-x86_64:
tags:
- non_aws
- before_script:
- - dnf update -y --nogpgcheck
- - dnf install -y 'dnf-command(builddep)'
- - dnf builddep -y --nogpgcheck libsoup
- - dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
script:
- - adduser $USER
- - su -c 'mkdir -p $BUILDDIR' $USER
- - cd $BUILDDIR
- - su -c $CI_PROJECT_DIR/autogen.sh $USER
- - su -c make $USER
- - su -c 'make check' $USER
+ - meson _build
+ - ninja -C _build
+ - ninja -C _build test
artifacts:
paths:
- - $BUILDDIR/config.log
- - $BUILDDIR/tests/test-suite.log
+ - "_build/meson-logs"
when: on_failure