[libhandy/wip/exalm/ci] ci: Remove global before_script and move api-visibility to default image
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/wip/exalm/ci] ci: Remove global before_script and move api-visibility to default image
- Date: Fri, 22 May 2020 11:06:58 +0000 (UTC)
commit 5f6008f7d35389e45f7e3624e83817ebdf74474a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri May 22 16:01:31 2020 +0500
ci: Remove global before_script and move api-visibility to default image
.gitlab-ci.yml | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30790404..af69fdfa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,11 +8,6 @@ stages:
- test-package
- deploy
-before_script:
- - apt-get -y update
- - apt-get -y install build-essential libgtk-3-doc libgdk-pixbuf2.0-doc lcov
- - apt-get -y build-dep .
-
.build: &build_steps
echo "BUILD_OPTS=${BUILD_OPTS}" &&
export LC_ALL=C.UTF-8 &&
@@ -20,14 +15,19 @@ before_script:
ninja -C _build
api-visibility:
- image: debian:buster
stage: build
+ before_script:
+ - dnf install -y find
script:
- lint/api-visibility.sh
build-debian-gcc:
image: debian:buster
stage: build
+ before_script:
+ - apt-get -y update
+ - apt-get -y install build-essential libgtk-3-doc libgdk-pixbuf2.0-doc lcov
+ - apt-get -y build-dep .
variables:
BUILD_OPTS: -Dgtk_doc=true -Db_coverage=true --werror
script:
@@ -71,6 +71,10 @@ build-fedora-gcc:
build-gtkdoc:
image: debian:buster
stage: test+docs
+ before_script:
+ - apt-get -y update
+ - apt-get -y install build-essential libgtk-3-doc libgdk-pixbuf2.0-doc lcov
+ - apt-get -y build-dep .
dependencies:
- build-debian-gcc
script:
@@ -84,6 +88,10 @@ build-gtkdoc:
unit-test:
image: debian:buster
stage: test+docs
+ before_script:
+ - apt-get -y update
+ - apt-get -y install build-essential libgtk-3-doc libgdk-pixbuf2.0-doc lcov
+ - apt-get -y build-dep .
dependencies:
- build-debian-gcc
script:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]