From a10be0f94c7dcc0b3162143f4ac50bcb7e10d8c7 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Thu, 16 Jul 2020 10:50:23 -0700 Subject: gitlab-ci: Skip distcheck on alternate builds. We only really need distcheck to succeed for the default autotools build, so save time by only running that step once. Signed-off-by: Tristan Matthews Signed-off-by: Marvin Scholz --- .gitlab-ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c25fd6..8536156 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ default: # Image from https://hub.docker.com/_/gcc/ based on Debian image: gcc:9 -autoconf: +.autoconf: stage: build before_script: - apt-get update && @@ -13,24 +13,31 @@ autoconf: - ./autogen.sh - ./configure ${CONFIG_FLAGS} - make + +autoconf: + extends: .autoconf + script: + - ./autogen.sh + - ./configure ${CONFIG_FLAGS} + - make - make distcheck fixed-point: - extends: autoconf + extends: .autoconf variables: CONFIG_FLAGS: --enable-fixed-point no-float: - extends: autoconf + extends: .autoconf variables: CONFIG_FLAGS: --enable-fixed-point --disable-float-api vorbis-psy: - extends: autoconf + extends: .autoconf variables: CONFIG_FLAGS: --enable-vorbis-psy no-binaries: - extends: autoconf + extends: .autoconf variables: CONFIG_FLAGS: --disable-binaries -- cgit v1.2.3