This commit is contained in:
Thomas Schleicher 2024-10-22 19:04:19 +02:00
commit d57d7246e8

View file

@ -6,12 +6,15 @@ stages:
variables: variables:
BUILD_DIR: "build" BUILD_DIR: "build"
CMAKE_OPTIONS: "" CMAKE_OPTIONS: ""
DOCKER_IMAGE_NAME: "short-link-backend"
DOCKER_IMAGE_TAG: "latest"
build_job: build_job:
stage: build stage: build
image: gcc:latest image: gcc:latest
script: script:
- apt-get update -y && apt-get install -y cmake - apt-get update -y
- apt-get install -y --no-install-recommends cmake libboost-all-dev
- mkdir -p ${BUILD_DIR} - mkdir -p ${BUILD_DIR}
- cd ${BUILD_DIR} - cd ${BUILD_DIR}
- cmake .. ${CMAKE_OPTIONS} - cmake .. ${CMAKE_OPTIONS}