diff options
author | Ralph Giles <giles@thaumas.net> | 2020-07-16 20:50:23 +0300 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2020-07-16 21:59:59 +0300 |
commit | a10be0f94c7dcc0b3162143f4ac50bcb7e10d8c7 (patch) | |
tree | a91f2c50fcc10817cd28f9ebdd55e037dedec2cb | |
parent | 1a0b4895563e663c9f0a8634202f436c50ca6356 (diff) |
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 <tmatth@videolan.org>
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files 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 |