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's avatarTristan Matthews <tmatth@videolan.org>
Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent 1a0b4895
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment