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: [ ] needs: [ ]
before_script: before_script:
- apt -qq update - 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: lua:
<<: *build-job <<: *build-job
stage: dependencies 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: artifacts:
expire_in: 14 days expire_in: 14 days
paths: [ "deps/lua/dist" ] paths: [ "deps/lua/dist" ]
@ -24,7 +26,9 @@ lua:
pcre2: pcre2:
<<: *build-job <<: *build-job
stage: dependencies stage: dependencies
script: make -C deps/pcre2 script:
- apt -qq update && apt install -qq -y --no-install-recommends cmake
- make -C deps/pcre2
artifacts: artifacts:
expire_in: 14 days expire_in: 14 days
paths: [ "deps/pcre2/dist" ] paths: [ "deps/pcre2/dist" ]
@ -40,7 +44,9 @@ quictls:
haproxy: haproxy:
<<: *build-job <<: *build-job
stage: haproxy stage: haproxy
script: make -C haproxy script:
- apt -qq update && apt install -qq -y --no-install-recommends git libsystemd-dev
- make -C haproxy
needs: needs:
- job: lua - job: lua
artifacts: true artifacts: true