Split job-specific deps

This commit is contained in:
Tristan 2022-06-06 06:05:49 +01:00
parent 7f64879378
commit ee41c81b35
No known key found for this signature in database
GPG Key ID: BDDFC4A0651ACDE4

View File

@ -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