]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Simplify gitlab CI configuration
authorGuillem Jover <guillem@hadrons.org>
Thu, 31 May 2018 01:59:49 +0000 (03:59 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 31 May 2018 02:00:26 +0000 (04:00 +0200)
Merge all stages so that we do not need to pass artifacts around.
Quiesce «apt install».

.gitlab-ci.yml

index d63c2b5ff558b7683c627d45a9a62bc830051f07..3d6dbb66c6d30fbe8428ba29886f6b863389c767 100644 (file)
@@ -1,22 +1,9 @@
 image: debian:stretch
 
-before_script:
-  - apt update -qq
-  - apt install --no-install-recommends -y git gcc make autoconf automake libtool
-
-stages:
-  - autogen
-  - build
-  - test
-
-autogen:
-  stage: autogen
-  script: ./autogen && ./configure
-
-build:
-  stage: build
-  script: make
-
 test:
-  stage: test
-  script: make check
+  before_script:
+    - apt update -qq
+    - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool
+  script:
+    - ./autogen && ./configure
+    - make check