[libsoup/wip/ci] Build to a build dir and tag the job as 'non_aws' to fix the tests.
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/ci] Build to a build dir and tag the job as 'non_aws' to fix the tests.
- Date: Wed, 15 Aug 2018 09:55:07 +0000 (UTC)
commit 77b82349decd7f97e964583fa6b987ccaba26c98
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Aug 15 09:54:46 2018 +0000
Build to a build dir and tag the job as 'non_aws' to fix the tests.
.gitlab-ci.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a47774d6..30485b1d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,10 @@ image: fedora:28
variables:
ADDITIONAL_DEPENDENCIES: which gtk-doc libpsl-devel make httpd php php-xmlrpc mod_ssl redhat-rpm-config
USER: user
+ BUILDDIR: build
-build_stable:
+build:
+ tags: non_aws
before_script:
- dnf update -y --nogpgcheck
- dnf install -y 'dnf-command(builddep)'
@@ -12,11 +14,12 @@ build_stable:
- dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
script:
- adduser $USER
- - su -c ./autogen.sh $USER
+ - mkdir -p $BUILDDIR && cd $BUILDDIR
+ - su -c $CI_PROJECT_DIR/autogen.sh $USER
- su -c make $USER
- su -c 'make check' $USER
artifacts:
paths:
- - config.log
- - tests/test-suite.log
+ - $BUILDDIR/config.log
+ - $BUILDDIR/tests/test-suite.log
when: on_failure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]