[vala/wip/ci] ci: Add ubuntu clang x64 job
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ci] ci: Add ubuntu clang x64 job
- Date: Thu, 22 Nov 2018 19:08:38 +0000 (UTC)
commit e32fc8215d231b61b4ca6eaa1cbcb4daea8e6252
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Nov 22 19:25:43 2018 +0100
ci: Add ubuntu clang x64 job
.gitlab-ci.yml | 39 ++++++++++++++++++++++++++++-----------
1 file changed, 28 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c17b7ba4e..8d7e94369 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,10 @@
-image: fedora:rawhide
-
stages:
- build
- deploy
-fedora-x86_64:
+fedora-gcc-x86_64:
stage: build
+ image: fedora:rawhide
except:
- tags
before_script:
@@ -13,24 +12,42 @@ fedora-x86_64:
script:
- git fetch --tags
- ./autogen.sh --enable-coverage
- - make -j8
- - make -j8 check
- - make -j8 coverage-report
+ - make -j4
+ - make -j4 coverage-report
+ coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
artifacts:
name: "vala-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
- when: always
paths:
- "coverage"
+ expire_in: 1 week
+
+ubuntu-clang-x86_64:
+ stage: build
+ image: ubuntu:devel
+ except:
+ - tags
+ variables:
+ CC: clang
+ DEBIAN_FRONTEND: noninteractive
+ before_script:
+ - apt update
+ - apt install -y automake autoconf-archive libtool bison dbus flex clang git libglib2.0-dev
libgraphviz-dev libgirepository1.0-dev lcov xsltproc make valac
+ script:
+ - git fetch --tags
+ - ./autogen.sh
+ - make -j4
+ - make -j4 bootstrap
+ - make -j4 check
pages:
stage: deploy
-# only:
-# - master
+ when: manual
+ only:
+ - master
script:
- mv coverage/ public/
- cache:
- key: ${CI_COMMIT_REF_SLUG}
artifacts:
+ name: "vala-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths:
- public
expire_in: 1 week
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]