haproxy/.gitlab-ci.yml
2022-06-06 05:57:16 +01:00

54 lines
1.0 KiB
YAML

stages:
- dependencies
- haproxy
variables:
TZ: "UTC"
GIT_DEPTH: "1"
.build-job: &build-job
image: docker.io/library/debian:bullseye
needs: [ ]
before_script:
- apt -qq update
- apt install -y --no-install-recommends -qq build-essential ca-certificates cmake curl git libreadline-dev tar
lua:
<<: *build-job
stage: dependencies
script: make -C deps/lua
artifacts:
expire_in: 14 days
paths: [ "deps/lua/dist" ]
pcre2:
<<: *build-job
stage: dependencies
script: make -C deps/pcre2
artifacts:
expire_in: 14 days
paths: [ "deps/pcre2/dist" ]
quictls:
<<: *build-job
stage: dependencies
script: make -C deps/quictls
artifacts:
expire_in: 14 days
paths: [ "deps/quictls/dist", "quictls-*-dist.tar.gz" ]
haproxy:
<<: *build-job
stage: haproxy
script: make -C haproxy
needs:
- job: lua
artifacts: true
- job: pcre2
artifacts: true
- job: quictls
artifacts: true
artifacts:
expire_in: 14 days
paths: [ "haproxy/dist" ]