haproxy/.gitlab-ci.yml

56 lines
1.1 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 libreadline-dev libsystemd-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", "deps/quictls/quictls-*-dist.tar.gz" ]
haproxy:
<<: *build-job
stage: haproxy
script:
- apt install -y --no-install-recommends -qq git
- make -C haproxy
needs:
- job: lua
artifacts: true
- job: pcre2
artifacts: true
- job: quictls
artifacts: true
artifacts:
expire_in: 14 days
paths: [ "haproxy/dist" ]