]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Fix gitlab CI configuration
authorGuillem Jover <guillem@hadrons.org>
Thu, 31 May 2018 01:34:07 +0000 (03:34 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 31 May 2018 01:42:33 +0000 (03:42 +0200)
Run «apt install» in non-interactive mode, and do not install
Recommends. Replace build-essential, which is rather fat, with gcc
and make. Execute autogen instead of autoreconf directly.

.gitlab-ci.yml

index 03afa11000ac7b743ada858fdcf50e619ea758ce..fe0b2893c99bdb1a1f45555fa53ca8c611a82dcf 100644 (file)
@@ -2,7 +2,7 @@ image: debian:stretch
 
 before_script:
   - apt update -qq
-  - apt install build-essential autoconf automake libtool
+  - apt install --no-install-recommends -y gcc make autoconf automake libtool
 
 stages:
   - autogen
@@ -11,7 +11,7 @@ stages:
 
 autogen:
   stage: autogen
-  script: autoreconf -f -i && ./configure
+  script: ./autogen && ./configure
 
 build:
   stage: build