From ee41c81b35987fd3352bb26475d68418c3fc5eff Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 6 Jun 2022 06:05:49 +0100 Subject: [PATCH] Split job-specific deps --- .gitlab-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1813484..8aa0054 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,12 +11,14 @@ variables: needs: [ ] before_script: - apt -qq update - - apt install -y --no-install-recommends -qq build-essential ca-certificates cmake curl git libreadline-dev tar + - apt install -y --no-install-recommends -qq build-essential ca-certificates curl tar lua: <<: *build-job stage: dependencies - script: make -C deps/lua + script: + - apt -qq update && apt install -qq -y --no-install-recommends libreadline-dev + - make -C deps/lua artifacts: expire_in: 14 days paths: [ "deps/lua/dist" ] @@ -24,7 +26,9 @@ lua: pcre2: <<: *build-job stage: dependencies - script: make -C deps/pcre2 + script: + - apt -qq update && apt install -qq -y --no-install-recommends cmake + - make -C deps/pcre2 artifacts: expire_in: 14 days paths: [ "deps/pcre2/dist" ] @@ -40,7 +44,9 @@ quictls: haproxy: <<: *build-job stage: haproxy - script: make -C haproxy + script: + - apt -qq update && apt install -qq -y --no-install-recommends git libsystemd-dev + - make -C haproxy needs: - job: lua artifacts: true