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:
BUILD_DIR: "build"
CMAKE_OPTIONS: ""
DOCKER_IMAGE_NAME: "short-link-backend"
DOCKER_IMAGE_TAG: "latest"
build_job:
stage: build
image: gcc:latest
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}
- cd ${BUILD_DIR}
- cmake .. ${CMAKE_OPTIONS}