Update .gitlab-ci.yml file

This commit is contained in:
Thomas Schleicher 2024-10-22 16:12:37 +00:00
parent c2615d02c3
commit 3e8606e644

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 cmake libboost-all-dev
- mkdir -p ${BUILD_DIR} - mkdir -p ${BUILD_DIR}
- cd ${BUILD_DIR} - cd ${BUILD_DIR}
- cmake .. ${CMAKE_OPTIONS} - cmake .. ${CMAKE_OPTIONS}