summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-04-01 02:12:58 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-04-01 02:12:58 +0300
commit70cfe4f8d4db80b52cc89694e091e54324f00d1a (patch)
tree9075b4312b3d81d709dc9de6924f9ae96acadfa1 /.gitlab-ci.yml
parentf5e49d88254b6e04ced822180cf708675741c1d6 (diff)
downloadmetacity-70cfe4f8d4db80b52cc89694e091e54324f00d1a.tar.gz
ci: update configuration
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml96
1 files changed, 34 insertions, 62 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5753fd3c..2b183fd6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,42 +5,45 @@ stages:
variables:
DEBIAN_FRONTEND: noninteractive
-build-ubuntu:
+.install-ubuntu-dependencies: &install-ubuntu-dependencies
+ apt-get install -q -y --no-install-recommends
+ autoconf-archive
+ automake
+ autopoint
+ build-essential
+ gettext
+ gsettings-desktop-schemas-dev
+ libcanberra-gtk3-dev
+ libglib2.0-dev
+ libgtk-3-dev
+ libgtop2-dev
+ libice-dev
+ libpango1.0-dev
+ libsm-dev
+ libstartup-notification0-dev
+ libtool
+ libvulkan-dev
+ libx11-dev
+ libxcomposite-dev
+ libxcursor-dev
+ libxdamage-dev
+ libxext-dev
+ libxfixes-dev
+ libxinerama-dev
+ libxrandr-dev
+ libxrender-dev
+ libxt-dev
+ yelp-tools
+ zenity
+
+ubuntu:
image: ubuntu:devel
stage: build
except:
- tags
before_script:
- apt-get update
- - apt-get install -q -y --no-install-recommends
- autoconf-archive
- automake
- autopoint
- build-essential
- gettext
- gsettings-desktop-schemas-dev
- libcanberra-gtk3-dev
- libglib2.0-dev
- libgtk-3-dev
- libgtop2-dev
- libice-dev
- libpango1.0-dev
- libsm-dev
- libstartup-notification0-dev
- libtool
- libvulkan-dev
- libx11-dev
- libxcomposite-dev
- libxcursor-dev
- libxdamage-dev
- libxext-dev
- libxfixes-dev
- libxinerama-dev
- libxrandr-dev
- libxrender-dev
- libxt-dev
- yelp-tools
- zenity
+ - *install-ubuntu-dependencies
script:
- ./autogen.sh
- make
@@ -52,38 +55,7 @@ coverity:
when: manual
before_script:
- apt-get update
- - apt-get install -q -y --no-install-recommends
- autoconf-archive
- automake
- autopoint
- build-essential
- ca-certificates
- clang
- curl
- gettext
- gsettings-desktop-schemas-dev
- libcanberra-gtk3-dev
- libglib2.0-dev
- libgtk-3-dev
- libgtop2-dev
- libice-dev
- libpango1.0-dev
- libsm-dev
- libstartup-notification0-dev
- libtool
- libvulkan-dev
- libx11-dev
- libxcomposite-dev
- libxcursor-dev
- libxdamage-dev
- libxext-dev
- libxfixes-dev
- libxinerama-dev
- libxrandr-dev
- libxrender-dev
- libxt-dev
- yelp-tools
- zenity
+ - *install-ubuntu-dependencies
script:
- curl https://scan.coverity.com/download/linux64
--data "token=$COVERITY_TOKEN&project=metacity"